1 # Suppress building libgcc1.a, since the MIPS compiler port is complete
2 # and does not need anything from libgcc1.a.
6 # ??? If no mabi=X option given, but a mipsX option is, then should deal
8 # ??? mabi=32 is deliberately left off the list because it doesn't work yet.
9 MULTILIB_OPTIONS=mabi=n32/mabi=64
13 LIBGCC = stmp-multilib
14 INSTALL_LIBGCC = install-multilib
16 # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
17 # end labels to the .ctors and .dtors section when we link using gcc.
19 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
22 # Build a shared libgcc library.
24 SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
25 -Wl,-soname,@shlib_base_name@.so.0 \
26 -o @shlib_base_name@.so @multilib_flags@ @shlib_objs@ -lc
27 # ??? Irix 6.5 seems to eat the option fine (if we somehow remove the
28 # -hidden_symbol option, which is documented to be ignored in conjunction
29 # with -exports_file), but fails to actually hide any symbols.
30 # -Wl,-exports_file,@shlib_map_file@
31 SHLIB_INSTALL = $(INSTALL_DATA) @shlib_base_name@.so $(slibdir)/@shlib_base_name@.so.0; \
32 rm -f $(slibdir)/@shlib_base_name@; \
33 $(LN_S) @shlib_base_name@.so.0 $(slibdir)/@shlib_base_name@.so
34 SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
35 SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver
37 # We want fine grained libraries, so use the new code to build the
38 # floating point emulation libraries.
42 dp-bit.c: $(srcdir)/config/fp-bit.c
43 echo '#undef US_SOFTWARE_GOFAST' > dp-bit.c
44 echo '#undef FLOAT' >> dp-bit.c
45 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
47 fp-bit.c: $(srcdir)/config/fp-bit.c
48 echo '#define FLOAT' > fp-bit.c
49 echo '#undef US_SOFTWARE_GOFAST' >> fp-bit.c
50 cat $(srcdir)/config/fp-bit.c >> fp-bit.c