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.
This commit is contained in:
parent
a94a7c1c32
commit
264d6861c7
2 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue