* ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
This commit is contained in:
parent
662fb31bbc
commit
14ac84b444
@ -1,3 +1,7 @@
|
|||||||
|
2008-01-16 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
|
||||||
|
|
||||||
2008-01-16 Alan Modra <amodra@bigpond.net.au>
|
2008-01-16 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
|
* ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
|
||||||
|
@ -4702,8 +4702,7 @@ lang_size_sections_1
|
|||||||
should have space allocated to it, unless the
|
should have space allocated to it, unless the
|
||||||
user has explicitly stated that the section
|
user has explicitly stated that the section
|
||||||
should never be loaded. */
|
should never be loaded. */
|
||||||
if (!(output_section_statement->flags
|
if (!(output_section_statement->flags & SEC_NEVER_LOAD))
|
||||||
& (SEC_NEVER_LOAD | SEC_ALLOC)))
|
|
||||||
output_section_statement->bfd_section->flags |= SEC_ALLOC;
|
output_section_statement->bfd_section->flags |= SEC_ALLOC;
|
||||||
}
|
}
|
||||||
dot = newdot;
|
dot = newdot;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user