mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
* ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
This commit is contained in:
@ -4702,8 +4702,7 @@ lang_size_sections_1
|
||||
should have space allocated to it, unless the
|
||||
user has explicitly stated that the section
|
||||
should never be loaded. */
|
||||
if (!(output_section_statement->flags
|
||||
& (SEC_NEVER_LOAD | SEC_ALLOC)))
|
||||
if (!(output_section_statement->flags & SEC_NEVER_LOAD))
|
||||
output_section_statement->bfd_section->flags |= SEC_ALLOC;
|
||||
}
|
||||
dot = newdot;
|
||||
|
Reference in New Issue
Block a user