From: Ian Lance Taylor Date: Sun, 27 Jun 1999 08:29:27 +0000 (+0000) Subject: 1999-06-27 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=264d6861c783a455246f21648eda78c7a1924931;p=binutils-gdb.git 1999-06-27 H.J. Lu * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for non BFD_ASSEMBLER case. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 2a8adb53f70..d88ffd71fdf 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +1999-06-27 H.J. Lu + + * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for + non BFD_ASSEMBLER case. + 1999-06-26 Mumit Khan * config/obj-coff.c (obj_coff_section): Mark writable sections as diff --git a/gas/subsegs.c b/gas/subsegs.c index f0efed1e64b..b2bf70d1548 100644 --- a/gas/subsegs.c +++ b/gas/subsegs.c @@ -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 */ }