mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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:
@ -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 */
|
||||
}
|
||||
|
Reference in New Issue
Block a user