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.
This commit is contained in:
Nick Clifton
2008-01-10 14:28:49 +00:00
parent e819ade1fb
commit 71934f948a
2 changed files with 8 additions and 1 deletions

View File

@@ -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;