diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-27 08:29:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-27 08:29:27 +0000 |
commit | 264d6861c783a455246f21648eda78c7a1924931 (patch) | |
tree | 3046990bf042cd7d517a137e053a9cf586e94cb6 | |
parent | a94a7c1c32429ce33f5ab00ce1266529c5ee95cd (diff) | |
download | gdb-264d6861c783a455246f21648eda78c7a1924931.zip gdb-264d6861c783a455246f21648eda78c7a1924931.tar.gz gdb-264d6861c783a455246f21648eda78c7a1924931.tar.bz2 |
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.
-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 */ } |