* ldlang.c (lang_size_sections_1): Don't check mem regions for
[deliverable/binutils-gdb.git] / ld / ldlang.c
index 041253859d57ab300d2dc7b6d7d6429cbd02ec80..7b026b0f6b969d574325b858e7a140fd0ba9f6e2 100644 (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,
This page took 0.025136 seconds and 4 git commands to generate.