mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 20:32:21 +08:00
* ldlang.c (lang_size_sections_1): Don't check mem regions for
os->ignored sections.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user