1999-06-27 H.J. Lu <hjl@gnu.org>
authorIan Lance Taylor <ian@airs.com>
Sun, 27 Jun 1999 08:29:27 +0000 (08:29 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 27 Jun 1999 08:29:27 +0000 (08:29 +0000)
* subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
non BFD_ASSEMBLER case.

gas/ChangeLog
gas/subsegs.c

index 2a8adb53f7065fd9f31f55fcac2ed01c5f1d0398..d88ffd71fdf9f8714c44ea25d21833a1322223f9 100644 (file)
@@ -1,3 +1,8 @@
+1999-06-27  H.J. Lu  <hjl@gnu.org>
+
+       * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
+       non BFD_ASSEMBLER case.
+
 1999-06-26  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * config/obj-coff.c (obj_coff_section): Mark writable sections as
index f0efed1e64b9786473a5ce48190440151cccbcdd..b2bf70d15484cbb9dcf31923e7b9a43a1fa363e2 100644 (file)
@@ -591,20 +591,20 @@ subseg_text_p (sec)
   const char * const *p;
 
   if (sec == data_section || sec == bss_section)
-    return false;
+    return 0;
 
   for (p = nontext_section_names; *p != NULL; ++p)
     {
       if (strcmp (segment_name (sec), *p) == 0)
-       return false;
+       return 0;
 
 #ifdef obj_segment_name
       if (strcmp (obj_segment_name (sec), *p) == 0)
-       return false;
+       return 0;
 #endif
     }
 
-  return true;
+  return 1;
 
 #endif /* ! BFD_ASSEMBLER */
 }