diff options
author | Richard Henderson <rth@cygnus.com> | 2000-10-08 16:20:18 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-10-08 16:20:18 -0700 |
commit | aefa45d35ddc22d8ab2a720874854d2c07882027 (patch) | |
tree | d14e895aa0f643740cf9f9a9fc9ac99f2e746d48 /gcc/config/t-linux | |
parent | b15ad712574a975b0ba2a333bff74db3f19c17d4 (diff) | |
download | gcc-aefa45d35ddc22d8ab2a720874854d2c07882027.zip gcc-aefa45d35ddc22d8ab2a720874854d2c07882027.tar.gz gcc-aefa45d35ddc22d8ab2a720874854d2c07882027.tar.bz2 |
Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
* Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
* configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
* mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
Use SHLIB_EXT.
* config/t-linux (SHLIB_EXT): New.
(SHLIB_LINK): Use the entire build command, with substitutions.
(SHLIB_LIBS): Remove.
* config/alpha/t-osf4: Likewise.
* config/mips/t-iris6: Likewise.
* config/sparc/t-sol2: Likewise, but move shlib stuff...
* config/sparc/t-slibgcc-sld: ...here.
* config/sparc/t-slibgcc: New file.
From-SVN: r36792
Diffstat (limited to 'gcc/config/t-linux')
-rw-r--r-- | gcc/config/t-linux | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/t-linux b/gcc/config/t-linux index 858faa9..b66cf56 100644 --- a/gcc/config/t-linux +++ b/gcc/config/t-linux @@ -9,10 +9,11 @@ CRTSTUFF_T_CFLAGS_S = -fPIC # Compile libgcc2.a with pic. TARGET_LIBGCC2_CFLAGS = -fPIC # Build a shared libgcc library. +SHLIB_EXT = .so SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ -Wl,--soname=@shlib_base_name@.so.0 \ - -Wl,--version-script=libgcc.map -SHLIB_LIBS = -lc + -Wl,--version-script=@shlib_map_file@ \ + -o @shlib_base_name@.so @multilib_flags@ @shlib_objs@ -lc SHLIB_MKMAP = $(srcdir)/mkmap-symver.awk SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver $(srcdir)/config/libgcc-glibc.ver |