* ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
whether to skip test for no memory region.
This commit is contained in:
parent
5fbad20aae
commit
a7f18fb387
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-10-08 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
|
||||||
|
whether to skip test for no memory region.
|
||||||
|
|
||||||
2003-10-08 Nick Clifton <nickc@redhat.com>
|
2003-10-08 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
|
* lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
|
||||||
|
|
|
@ -2801,8 +2801,7 @@ lang_size_sections_1
|
||||||
/* If a loadable section is using the default memory
|
/* If a loadable section is using the default memory
|
||||||
region, and some non default memory regions were
|
region, and some non default memory regions were
|
||||||
defined, issue an error message. */
|
defined, issue an error message. */
|
||||||
if ((bfd_get_section_flags (output_bfd, os->bfd_section)
|
if (!IGNORE_SECTION (output_bfd, os->bfd_section)
|
||||||
& (SEC_ALLOC | SEC_LOAD)) != 0
|
|
||||||
&& (bfd_get_section_flags (output_bfd, os->bfd_section)
|
&& (bfd_get_section_flags (output_bfd, os->bfd_section)
|
||||||
& SEC_NEVER_LOAD) == 0
|
& SEC_NEVER_LOAD) == 0
|
||||||
&& ! link_info.relocatable
|
&& ! link_info.relocatable
|
||||||
|
|
Loading…
Add table
Reference in a new issue