This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  b15f6f9ded3e9e1edb7b74e5bd823cd511673e48 (commit)
       via  ef32f487d746dbcdc00c2c357ebe3cf2a68d8a28 (commit)
      from  4137bb8a1529bd0a8b91240faa0b08b111c351ce (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b15f6f9ded3e9e1edb7b74e5bd823cd511673e48
Author: Ralf Wildenhues <ralf.wildenh...@gmx.de>
Date:   Sun Nov 29 23:03:14 2009 +0100

    Fix bindir and dlopen tests for C++ compilers (CC=g++).
    
    * tests/bindir.at (bindir basic lib test, bindir install tests):
    Include stdlib.h rather than declaring abort.
    * tests/lt_dlopenext.at (lt_dlopenext error messages): Use
    `extern "C"' annotation for dlsym'ed function in C++ mode.
    
    Signed-off-by: Ralf Wildenhues <ralf.wildenh...@gmx.de>

commit ef32f487d746dbcdc00c2c357ebe3cf2a68d8a28
Author: Ralf Wildenhues <ralf.wildenh...@gmx.de>
Date:   Tue Nov 24 12:22:13 2009 +0100

    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 <ralf.wildenh...@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |   14 ++++++++++++++
 NEWS                  |    1 +
 THANKS                |    1 +
 libltdl/m4/libtool.m4 |    1 +
 tests/bindir.at       |    4 ++--
 tests/lt_dlopenext.at |    3 +++
 6 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3c98484..3ba536c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-11-29  Ralf Wildenhues  <ralf.wildenh...@gmx.de>
+
+       Fix bindir and dlopen tests for C++ compilers (CC=g++).
+       * tests/bindir.at (bindir basic lib test, bindir install tests):
+       Include stdlib.h rather than declaring abort.
+       * tests/lt_dlopenext.at (lt_dlopenext error messages): Use
+       `extern "C"' annotation for dlsym'ed function in C++ mode.
+
 2009-11-25  Peter Rosin  <p...@lysator.liu.se>
 
        Fix cross build issue in execute mode test.
@@ -5,6 +13,12 @@
 
 2009-11-24  Ralf Wildenhues  <ralf.wildenh...@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 80f0413..7087cdd 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 004dbd8..c8acd67 100644
--- a/THANKS
+++ b/THANKS
@@ -140,6 +140,7 @@
   Paul Biggar                  paul.big...@gmail.com
   Paul Eggert                  egg...@twinsun.com
   Peter Eisentraut             pete...@gmx.net
+  Peter Fritzsche              peter.fritzs...@gmx.de
   Peter Jeremy                 peterjer...@optushome.com.au
   Peter Kjellerstedt           peter.kjellerst...@axis.com
   Rainer Emrich                        r.emr...@de.tecosim.com
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 65dd027..9abd147 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 ...
diff --git a/tests/bindir.at b/tests/bindir.at
index 859b1c4..e49853d 100644
--- a/tests/bindir.at
+++ b/tests/bindir.at
@@ -128,9 +128,9 @@ int bar (void) { return y + baz ();}
 ]])
 
 AT_DATA([main.c],[[
+#include <stdlib.h>
 extern int baz (void);
 extern int bar (void);
-extern void abort (void);
 int main() {
 if (baz () + bar () - 25) abort ();
 return 0;
@@ -237,9 +237,9 @@ int bar (void) { return y + baz ();}
 ]])
 
 AT_DATA([main.c],[[
+#include <stdlib.h>
 extern int baz (void);
 extern int bar (void);
-extern void abort (void);
 int main() {
 if (baz () + bar () - 25) abort ();
 return 0;
diff --git a/tests/lt_dlopenext.at b/tests/lt_dlopenext.at
index 3d148a9..ca5bdfa 100644
--- a/tests/lt_dlopenext.at
+++ b/tests/lt_dlopenext.at
@@ -41,6 +41,9 @@ AT_DATA([simple-module.c],
 [[
 #include <stdio.h>
 
+#ifdef __cplusplus
+extern "C"
+#endif
 int
 run (const char *argument)
 {


hooks/post-receive
-- 
GNU Libtool


Reply via email to