This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
small Darwin fix
- From: Zack Weinberg <zack at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Nov 2004 14:15:20 -0800
- Subject: small Darwin fix
powerpc-darwin libgcc_s.dylib is supposed to export the _xlq* symbols
defined by rs6000/darwin-ldouble.c. My patch yesterday broke this
(neither libgcc-std.ver nor libgcc-darwin.ver mentioned those symbols,
which was harmless as long as the generated version map wasn't being
used for anything). The cure is to make use of the existing
rs6000/libgcc-ppc64.ver.
Bootstrapped and tested on powerpc-darwin. Thanks to Andreas Tobler
for finding the problem and assisting with testing.
zw
* config/rs6000/t-darwin: Augment SHLIB_MAPFILES with
config/rs6000/libgcc-ppc64.ver.
===================================================================
Index: config/rs6000/t-darwin
--- config/rs6000/t-darwin 14 Oct 2004 22:30:43 -0000 1.14
+++ config/rs6000/t-darwin 17 Nov 2004 22:12:51 -0000
@@ -11,3 +11,6 @@ LIB2FUNCS_STATIC_EXTRA = \
# even though they use AltiVec instructions. -Wa is used because
# -force_cpusubtype_ALL doesn't work with -dynamiclib.
TARGET_LIBGCC2_CFLAGS = -Wa,-force_cpusubtype_ALL
+
+# Export the _xlq* symbols from darwin-ldouble.c.
+SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ppc64.ver