]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): The linker distinguishes
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 11 Sep 2004 00:50:27 +0000 (00:50 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 11 Sep 2004 00:50:27 +0000 (00:50 +0000)
data and code symbols on linux-gnu/ia64.  Fixes multiple testsuite
failures.
* NEWS: Updated.

ChangeLog
NEWS
m4/libtool.m4

index 97ca965ba311bb6e94d84d0dd697a1a4708b8b30..756649013e176050a4db1072571f6846e37f5461 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): The linker distinguishes
+       data and code symbols on linux-gnu/ia64.  Fixes multiple testsuite
+       failures.
+       * NEWS: Updated.
+
 2004-09-06  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/loaders/shl_load.c (get_vtable): Typo.
diff --git a/NEWS b/NEWS
index a462dbdbdb3e7aa68869b7e4253bf934902710b6..5c6dac18b5322c8f69c247e4fce637c5e430389d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ New in 1.9d: 2004-??-??; CVS version 1.9c, Libtool team:
   types have been exchanged.  See libltdl/slist.c for documentation.
 * libltdl is C89 compatible again.  lt_dlsymbol type removed, and lt_dlsymlist
   structure changed to avoid using C99 flexible arrays.
+* Improved support for linux-gnu/ia64.
 * Fixed some memory leaks in libltdl.
 \f
 New in 1.9b: 2004-08-29; CVS version 1.5a, Libtool team:
index b26360e52f71236f9398c56f9f30ff84f124cc9c..073a1a60e43327a492366c39d1e37ed8a8a1f1e1 100644 (file)
@@ -2717,6 +2717,13 @@ hpux*) # Its linker distinguishes data from code symbols
 irix* | nonstopux*)
   symcode='[[BCDEGRST]]'
   ;;
+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\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
+  fi
+  ;;
 osf*)
   symcode='[[BCDEGQRST]]'
   ;;