]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): The linker
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 19 Sep 2004 12:13:50 +0000 (12:13 +0000)
committerPeter O'Gorman <peter@pogma.com>
Sun, 19 Sep 2004 12:13:50 +0000 (12:13 +0000)
distinguishes data and code symbols on linux-gnu/ia64.  Fixes
multiple testsuite failures.  Backport from 1.9c.

ChangeLog
libtool.m4

index 7381b7ab1b8dd5da37cb7ff546b0ca33c5a439b9..a484ed9616b81abc56ae103f9e38494082494aca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
-2004-09-18  Alexandre Duret-Lutz  <adl@gnu.org>,
+2004-09-19  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): The linker
+       distinguishes data and code symbols on linux-gnu/ia64.  Fixes
+       multiple testsuite failures.  Backport from 1.9c.
+
+2004-09-19  Alexandre Duret-Lutz  <adl@gnu.org>,
            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
        * demo/Makefile.am, pdemo/Makefile.am: Use per-target CFLAGS
        only for the Libtool-built objects, so that automake won't
index 8b3a504a7a4467626b71b8a335e22bca3ae30438..c3b71e8932670430f1e81defdbbe1d5cdec2ac3c 100644 (file)
@@ -4404,6 +4404,13 @@ hpux*) # Its linker distinguishes data from code symbols
   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   ;;
+linux*)
+  if test "$host_cpu" = ia64; then
+    symcode='[[ABCDGIRSTW]]'
+    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+  fi
+  ;;
 irix* | nonstopux*)
   symcode='[[BCDEGRST]]'
   ;;