From 111349c7a6577a6ce3130cd2e5f28706be188c39 Mon Sep 17 00:00:00 2001 From: rth Date: Fri, 6 Oct 2000 05:46:02 +0000 Subject: * Makefile.in (NM_FOR_TARGET): New. (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES. (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET. * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the shared library build on that and EXTRA_MULTILIB_PARTS. * mkmap-flat.awk: New file. * mkmap-symver.awk: New file. * libgcc-std.ver: New file. * config/libgcc-glibc.ver: New file. * config/ia64/libgcc-ia64.ver: New file. * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New. (SHLIB_LINK): Add --version-script. * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver. * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New. * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New. (SHLIB_LINK): Add -M. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36746 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/t-linux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/config/t-linux') diff --git a/gcc/config/t-linux b/gcc/config/t-linux index 966ae810693..858faa9619c 100644 --- a/gcc/config/t-linux +++ b/gcc/config/t-linux @@ -10,14 +10,14 @@ CRTSTUFF_T_CFLAGS_S = -fPIC TARGET_LIBGCC2_CFLAGS = -fPIC # Build a shared libgcc library. SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ - -Wl,--soname=@shlib_base_name@.so.0 -# ??? Do versioning later -- need to figure out how to post-process -# the script and allow for target-specific additions. -# -Wl,--version-script=$(srcdir)/config/ver-glibc.map + -Wl,--soname=@shlib_base_name@.so.0 \ + -Wl,--version-script=libgcc.map SHLIB_LIBS = -lc +SHLIB_MKMAP = $(srcdir)/mkmap-symver.awk +SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver $(srcdir)/config/libgcc-glibc.ver # Do not build libgcc1. Let gcc generate those functions. The GNU/Linux # C library can handle them. -LIBGCC1 = +LIBGCC1 = CROSS_LIBGCC1 = LIBGCC1_TEST = -- cgit v1.2.1