From: Ralf Wildenhues Date: Tue, 24 Nov 2009 11:22:13 +0000 (+0100) Subject: Enable symbol versioning with the GNU gold linker. X-Git-Tag: v2.2.7b~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef32f487d746dbcdc00c2c357ebe3cf2a68d8a28;p=thirdparty%2Flibtool.git 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. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 3c984849c..3f19b9013 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,12 @@ 2009-11-24 Ralf Wildenhues + 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 80f04133b..7087cdd40 100644 --- 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 004dbd877..c8acd6783 100644 --- a/THANKS +++ b/THANKS @@ -140,6 +140,7 @@ 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 diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 65dd0274e..9abd14783 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -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 ...