This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
AIX libgcc.map
Jakub's patch to multilib libgcc.map broke AIX because it now
wants to run "nm" on each multilib set of objects. The following patch
allow AIX nm to parse both 32-bit and 64-bit objects.
David
* config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
Index: t-aix43
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/t-aix43,v
retrieving revision 1.16
diff -c -p -r1.16 t-aix43
*** t-aix43 5 Jan 2002 16:52:31 -0000 1.16
--- t-aix43 10 Apr 2002 20:26:10 -0000
*************** SHLIB_INSTALL = $(INSTALL_DATA) @shlib_b
*** 62,68 ****
SHLIB_LIBS = -lc `case @shlib_base_name@ in *pthread*) echo -lpthread ;; esac`
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver
! SHLIB_NM_FLAGS = -Bpg
# Either 32-bit and 64-bit objects in archives.
AR_FLAGS_FOR_TARGET = -X32_64
--- 62,68 ----
SHLIB_LIBS = -lc `case @shlib_base_name@ in *pthread*) echo -lpthread ;; esac`
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver
! SHLIB_NM_FLAGS = -Bpg -X32_64
# Either 32-bit and 64-bit objects in archives.
AR_FLAGS_FOR_TARGET = -X32_64