diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-01-16 01:28:21 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-01-16 01:28:21 +0000 |
commit | 896ca5db172f1bc373b6457f5a0b68c95d3acbc5 (patch) | |
tree | a08cb7a0d05e84603754dbc621951c275fb16125 /ld/ldlang.c | |
parent | 9f850f9f6e4162ab8d0568a951204b2a9ebb15be (diff) | |
download | binutils-redhat-896ca5db172f1bc373b6457f5a0b68c95d3acbc5.tar.gz |
* ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 8aee9a38a6..c5ad76d7c1 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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; |