* ldlang.c (lang_size_sections_1): Don't check mem regions for

os->ignored sections.
This commit is contained in:
Alan Modra 2006-05-19 06:09:31 +00:00
parent 1ea63fd215
commit f0636a4439
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-05-19 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (lang_size_sections_1): Don't check mem regions for
os->ignored sections.
2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
* ldlang.c (lang_size_sections): Call lang_reset_memory_regions

View File

@ -4198,7 +4198,8 @@ lang_size_sections_1
/* If a loadable section is using the default memory
region, and some non default memory regions were
defined, issue an error message. */
if (!IGNORE_SECTION (os->bfd_section)
if (!os->ignored
&& !IGNORE_SECTION (os->bfd_section)
&& ! link_info.relocatable
&& check_regions
&& strcmp (os->region->name,