summaryrefslogtreecommitdiff
path: root/ld/ldemul.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldemul.c')
-rw-r--r--ld/ldemul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c
index 5e2fd82a0d..85baeab325 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -237,7 +237,7 @@ after_allocation_default (void)
void
before_allocation_default (void)
{
- if (!link_info.relocatable && !link_info.emitrelocations)
+ if (!link_info.relocatable)
strip_excluded_output_sections ();
}