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 /gas/subsegs.c | |
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.
Diffstat (limited to 'gas/subsegs.c')
-rw-r--r-- | gas/subsegs.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 */ } |