]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR ld/5533
authorNick Clifton <nickc@redhat.com>
Thu, 10 Jan 2008 14:28:49 +0000 (14:28 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 10 Jan 2008 14:28:49 +0000 (14:28 +0000)
        * 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.

ld/ChangeLog
ld/ldlang.c

index 359624ed3461bb8feef9979c667488aa11dcc6d6..9ef8fb7c4f697e7b26b452d936128b24ba69ef8b 100644 (file)
@@ -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.
index faeae3adc638081eef46d4349be1a59f29bc3459..9d3c513d54b0e3e59f7f31a0f4fe47f4449d9885 100644 (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;