summaryrefslogtreecommitdiff
path: root/gcc/config/mips/t-iris6
diff options
context:
space:
mode:
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