diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/subsegs.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2a8adb5..d88ffd7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/subsegs.c b/gas/subsegs.c index f0efed1..b2bf70d 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 */ } |