aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-01-10 14:28:49 +0000
committerNick Clifton <nickc@redhat.com>2008-01-10 14:28:49 +0000
commit71934f948a5d511b0d9f2fc0dd3dedca4cc9b84b (patch)
tree5820d2561b7cf4fab3388d75d5c40f2143a92240 /ld/ldlang.c
parente819ade1fbb0faf9f23105b52dd5215d80386a7e (diff)
downloadgdb-71934f948a5d511b0d9f2fc0dd3dedca4cc9b84b.zip
gdb-71934f948a5d511b0d9f2fc0dd3dedca4cc9b84b.tar.gz
gdb-71934f948a5d511b0d9f2fc0dd3dedca4cc9b84b.tar.bz2
PR ld/5533
* ldlang.c (lang_end): Issue a warning for a missing start symbol of a shared library if the symbol was specified on the command line.
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;