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:
parent
e819ade1fb
commit
71934f948a
@ -1,3 +1,10 @@
|
||||
2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
|
||||
|
||||
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.
|
||||
|
||||
2008-01-10 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* ld.texinfo (--gc-sections): Describe linker behaviour.
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user