OSDN Git Service

7608947f95cfe578c14243c0981f6a2440d082aa
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / t-iris6
1 # Suppress building libgcc1.a, since the MIPS compiler port is complete
2 # and does not need anything from libgcc1.a.
3 LIBGCC1 = 
4 CROSS_LIBGCC1 = 
5
6 # ??? If no mabi=X option given, but a mipsX option is, then should deal
7 # with that.
8 # ??? mabi=32 is deliberately left off the list because it doesn't work yet.
9 MULTILIB_OPTIONS=mabi=n32/mabi=64
10 MULTILIB_DIRNAMES=
11 MULTILIB_MATCHES=
12
13 LIBGCC = stmp-multilib
14 INSTALL_LIBGCC = install-multilib
15
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.
18
19 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
20 CRTSTUFF_T_CFLAGS=-g1
21
22 # Build a shared libgcc library.
23 SHLIB_EXT = .so
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 
36
37 # We want fine grained libraries, so use the new code to build the
38 # floating point emulation libraries.
39 FPBIT = fp-bit.c
40 DPBIT = dp-bit.c
41
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
46
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