]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Enable symbol versioning with the GNU gold linker.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 24 Nov 2009 11:22:13 +0000 (12:22 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 29 Nov 2009 22:02:34 +0000 (23:02 +0100)
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Accept 'GNU gold'
in the version string.
* NEWS, THANKS: Update.
Report by Peter Fritzsche.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
THANKS
libltdl/m4/libtool.m4

index 3c984849c806f1564698bc51a3241af0dd817a4f..3f19b9013ce2bfeeecaa35348cb7df5385df1a35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,12 @@
 
 2009-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Enable symbol versioning with the GNU gold linker.
+       * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Accept 'GNU gold'
+       in the version string.
+       * NEWS, THANKS: Update.
+       Report by Peter Fritzsche.
+
        Tighten regex for Portland C++ compiler for version 10.
        * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [linux]:
        Match a dot after version 1 through 5, so 10 and up don't match,
diff --git a/NEWS b/NEWS
index 80f04133b21cd4ed86cdd702f1b2daad0ffe6eb1..7087cdd40bcc588a2ad6718e4f01a2d3c20cbf41 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -52,6 +52,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
   - Fix ancient bug where "-Wc," was turned into "$wl" (typically "-Wl,")
     when using the compiler driver to link programs. Now "-Wc," is stripped
     just as it is when linking libraries through the compiler driver.
+  - Symbol versioning works with the GNU gold linker now.
 
 * Miscellaneous changes:
 
diff --git a/THANKS b/THANKS
index 004dbd877c9e56e83e76972752a2b090eef2fadc..c8acd67836941f27edfe3822e719e9db7e9507f5 100644 (file)
--- a/THANKS
+++ b/THANKS
   Paul Biggar                  paul.biggar@gmail.com
   Paul Eggert                  eggert@twinsun.com
   Peter Eisentraut             peter_e@gmx.net
+  Peter Fritzsche              peter.fritzsche@gmx.de
   Peter Jeremy                 peterjeremy@optushome.com.au
   Peter Kjellerstedt           peter.kjellerstedt@axis.com
   Rainer Emrich                        r.emrich@de.tecosim.com
index 65dd0274e6c6e2cd0a174b1a75578ad4d214c14e..9abd14783592f46b46fe0f39a3edf5869039d20e 100644 (file)
@@ -4339,6 +4339,7 @@ dnl Note also adjust exclude_expsyms for C++ above.
     fi
     supports_anon_versioning=no
     case `$LD -v 2>&1` in
+      *GNU\ gold*) supports_anon_versioning=yes ;;
       *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...