]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): move symcode calculation
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 23 Sep 2004 12:26:40 +0000 (12:26 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 23 Sep 2004 12:26:40 +0000 (12:26 +0000)
to correct place.
* doc/libtool.texi (libtool script contents): update description
of global_symbol_to_cdecl.

ChangeLog
doc/libtool.texi
m4/libtool.m4

index 098fbf54665bed81c930b47941454902f7fa0d35..a53b8104048f55f1f17c40c5a7e12c0b6aab61dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
-2004-09-23  Gary V. Vaughan  <gary@gnu.org>
+2004-09-23  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): move symcode calculation
+       to correct place.
+       * doc/libtool.texi (libtool script contents): update description
+       of global_symbol_to_cdecl.
+
+04-09-23  Gary V. Vaughan  <gary@gnu.org>
 
        * configure.ac (M4SH): AC_SUBST m4sh expander.
        * config/general.m4sh, config/getopt.m4sh: New files with factored
index 1fc1402a3f5353bef51fe699c9c386f8744a964b..978ed7988a2df4489f7348a76a12b8a81a19978c 100644 (file)
@@ -5062,16 +5062,15 @@ C @var{symbol3} @var{C-symbol3}
 $
 @end example
 
-The first column contains the symbol type (used to tell data from code
-on some platforms), but its meaning is system dependent.
+The first column contains the symbol type (used to tell data from code)
+but its meaning is system dependent.
 @end defvar
 
 @defvar global_symbol_to_cdecl
 A pipeline that translates the output of @var{global_symbol_pipe} into
-proper C declarations.  On platforms whose linkers differentiate code
-from data, such as HP/UX, data symbols will be declared as such, and
-code symbols will be declared as functions.  On platforms that don't
-care, everything is assumed to be data.
+proper C declarations.  Since some platforms, such as HP/UX, have
+linkers that differentiate code from data, data symbols are declared
+as data, and code symbols are declared as functions.
 @end defvar
 
 @defvar hardcode_action
index 5252ff5d4ea2147f70daf950b830d0db0ee9c466..f5229b2696356e0823157c6f4b63d06e19828b01 100644 (file)
@@ -2720,6 +2720,12 @@ sysv4)
   ;;
 esac
 
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+  symcode='[[ABCDGIRSTW]]' ;;
+esac
+
 # Transform an extracted symbol line into a proper C declaration.
 # Some systems (esp. on ia64) link data and code symols differently,
 # so use this general approach.
@@ -2736,12 +2742,6 @@ mingw*)
   ;;
 esac
 
-# If we're using GNU nm, then use its standard symbol codes.
-case `$NM -V 2>&1` in
-*GNU* | *'with BFD'*)
-  symcode='[[ABCDGIRSTW]]' ;;
-esac
-
 # Try without a prefix undercore, then with it.
 for ac_symprfx in "" "_"; do