summaryrefslogtreecommitdiff
path: root/gcc/config/mips/t-iris6
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-07 09:27:25 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-07 09:27:25 +0000
commit074386b843ecbacc12784bf7b044e9399ded40c7 (patch)
tree6325810f4b727df6611567fe1ab374c2937f896f /gcc/config/mips/t-iris6
parentf457fb19859f6107c6f694bf7677d13d8a5d5ba8 (diff)
downloadgcc-074386b843ecbacc12784bf7b044e9399ded40c7.tar.gz
* Makefile.in (slibdir): New variable.
(libgcc.mk): Pass SHLIB_INSTALL to mklibgcc. (installdirs): Create slibdir. (install-libgcc, install-multilib): Defer to libgcc.mk. * configure.in (slibdir): Substitute. * mklibgcc.in (install): New target. * config/t-linux (SHLIB_LINK): Create links for the soname. (SHLIB_INSTALL): New. * config/alpha/t-osf4 (SHLIB_INSTALL): New. * config/mips/t-iris6 (SHLIB_INSTALL): New. * config/rs6000/t-aix43 (SHLIB_INSTALL): New. * config/sparc/t-slibgcc (SHLIB_INSTALL): New. * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38761 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/t-iris6')
-rw-r--r--gcc/config/mips/t-iris63
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/mips/t-iris6 b/gcc/config/mips/t-iris6
index 01129b833eb..7608947f95c 100644
--- a/gcc/config/mips/t-iris6
+++ b/gcc/config/mips/t-iris6
@@ -28,6 +28,9 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
# -hidden_symbol option, which is documented to be ignored in conjunction
# with -exports_file), but fails to actually hide any symbols.
# -Wl,-exports_file,@shlib_map_file@
+SHLIB_INSTALL = $(INSTALL_DATA) @shlib_base_name@.so $(slibdir)/@shlib_base_name@.so.0; \
+ rm -f $(slibdir)/@shlib_base_name@; \
+ $(LN_S) @shlib_base_name@.so.0 $(slibdir)/@shlib_base_name@.so
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver