aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index faeae3a..9d3c513 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -5078,7 +5078,7 @@ lang_end (void)
bfd_boolean warn;
if (link_info.relocatable || link_info.shared)
- warn = FALSE;
+ warn = entry_from_cmdline;
else
warn = TRUE;