summaryrefslogtreecommitdiff
path: root/gcc/config/mips/t-iris6
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-08 23:20:18 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-08 23:20:18 +0000
commit95126477945260e657fdda3244201b4d0b0d70ef (patch)
treed14e895aa0f643740cf9f9a9fc9ac99f2e746d48 /gcc/config/mips/t-iris6
parente3fff6f226714d15ecd144e99828cbdd25bc2bb5 (diff)
downloadgcc-95126477945260e657fdda3244201b4d0b0d70ef.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36792 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/t-iris6')
-rw-r--r--gcc/config/mips/t-iris67
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/mips/t-iris6 b/gcc/config/mips/t-iris6
index 24e385d4606..879c841eef1 100644
--- a/gcc/config/mips/t-iris6
+++ b/gcc/config/mips/t-iris6
@@ -20,12 +20,13 @@ EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
CRTSTUFF_T_CFLAGS=-g1
# 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,-soname,@shlib_base_name@.so.0 \
+ -o @shlib_base_name@.so @multilib_flags@ @shlib_objs@ -lc
# ??? Irix 6.5 seems to eat the option fine (if we somehow remove the
# -hidden_symbol option, which is documented to be ignored in conjunction
# with -exports_file), but fails to actually hide any symbols.
-# -Wl,-exports_file,libgcc.map
-SHLIB_LIBS = -lc
+# -Wl,-exports_file,@shlib_map_file@
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver