* ldlang.c (lang_size_sections_1): Don't complain about
SEC_NEVER_LOAD sections having no memory region specified.
This commit is contained in:
parent
27cdacdbd0
commit
d08a14c385
|
@ -1,5 +1,8 @@
|
||||||
2002-04-08 Alan Modra <amodra@bigpond.net.au>
|
2002-04-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldlang.c (lang_size_sections_1): Don't complain about
|
||||||
|
SEC_NEVER_LOAD sections having no memory region specified.
|
||||||
|
|
||||||
* ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
|
* ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
|
||||||
|
|
||||||
2002-04-07 matthew green <mrg@redhat.com>
|
2002-04-07 matthew green <mrg@redhat.com>
|
||||||
|
|
|
@ -2930,6 +2930,8 @@ lang_size_sections_1 (s, output_section_statement, prev, fill, dot, relax)
|
||||||
defined, issue a warning. */
|
defined, issue a warning. */
|
||||||
if ((bfd_get_section_flags (output_bfd, os->bfd_section)
|
if ((bfd_get_section_flags (output_bfd, os->bfd_section)
|
||||||
& (SEC_ALLOC | SEC_LOAD)) != 0
|
& (SEC_ALLOC | SEC_LOAD)) != 0
|
||||||
|
&& (bfd_get_section_flags (output_bfd, os->bfd_section)
|
||||||
|
& SEC_NEVER_LOAD) == 0
|
||||||
&& ! link_info.relocateable
|
&& ! link_info.relocateable
|
||||||
&& strcmp (os->region->name, "*default*") == 0
|
&& strcmp (os->region->name, "*default*") == 0
|
||||||
&& lang_memory_region_list != NULL
|
&& lang_memory_region_list != NULL
|
||||||
|
|
Loading…
Reference in New Issue