diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-06 05:46:02 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-06 05:46:02 +0000 |
commit | 111349c7a6577a6ce3130cd2e5f28706be188c39 (patch) | |
tree | be4a2f085ae65cf6912abaacdb552d587cf5422f /gcc/config/t-linux | |
parent | d0b85c45f700e6b6e97608db91b7f071a8acea17 (diff) | |
download | gcc-111349c7a6577a6ce3130cd2e5f28706be188c39.tar.gz |
* 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
Diffstat (limited to 'gcc/config/t-linux')
-rw-r--r-- | gcc/config/t-linux | 10 |
1 files changed, 5 insertions, 5 deletions
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 = |