]> gcc.gnu.org Git - gcc.git/blob - gcc/config/rs6000/t-ppccomm
Daily bump.
[gcc.git] / gcc / config / rs6000 / t-ppccomm
1 # Common support for PowerPC eabi, System V targets.
2
3 # Do not build libgcc1.
4 LIBGCC1 =
5 CROSS_LIBGCC1 =
6
7 # These are really part of libgcc1, but this will cause them to be
8 # built correctly, so... [taken from t-sparclite]
9 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c eabi.S eabi-ctors.c tramp.S
10
11 dp-bit.c: $(srcdir)/config/fp-bit.c
12 cat $(srcdir)/config/fp-bit.c > dp-bit.c
13
14 fp-bit.c: $(srcdir)/config/fp-bit.c
15 echo '#define FLOAT' > fp-bit.c
16 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
17
18 eabi.S: $(srcdir)/config/rs6000/eabi.asm
19 cat $(srcdir)/config/rs6000/eabi.asm > eabi.S
20
21 eabi-ctors.c: $(srcdir)/config/rs6000/eabi-ctors.c
22 cat $(srcdir)/config/rs6000/eabi-ctors.c > eabi-ctors.c
23
24 tramp.S: $(srcdir)/config/rs6000/tramp.asm
25 cat $(srcdir)/config/rs6000/tramp.asm > tramp.S
26
27 # Switch synonyms
28 MULTILIB_MATCHES_FLOAT = msoft-float=mcpu?401 \
29 msoft-float=mcpu?403 \
30 msoft-float=mcpu?ec603e \
31 msoft-float=mcpu?801 \
32 msoft-float=mcpu?821 \
33 msoft-float=mcpu?823 \
34 msoft-float=mcpu?860
35 MULTILIB_MATCHES_ENDIAN = mlittle=mlittle-endian mbig=mbig-endian
36 MULTILIB_MATCHES_SYSV = mcall-sysv=mcall-sysv-eabi mcall-sysv=mcall-sysv-noeabi
37
38 LIBGCC = stmp-multilib
39 INSTALL_LIBGCC = install-multilib
40 EXTRA_MULTILIB_PARTS = ecrti$(objext) ecrtn$(objext) scrt0$(objext) scrti$(objext) scrtn$(objext)
41
42 # We build {e,s}crti.o, {e,s}crtn.o, and scrt0.o which serve to add begin and
43 # end labels to all of the special sections used when we link using gcc.
44
45 # Assemble startup files.
46 ecrti.S: $(srcdir)/config/rs6000/eabi-ci.asm
47 cat $(srcdir)/config/rs6000/eabi-ci.asm >ecrti.S
48
49 ecrtn.S: $(srcdir)/config/rs6000/eabi-cn.asm
50 cat $(srcdir)/config/rs6000/eabi-cn.asm >ecrtn.S
51
52 scrti.S: $(srcdir)/config/rs6000/sol-ci.asm
53 cat $(srcdir)/config/rs6000/sol-ci.asm >scrti.S
54
55 scrtn.S: $(srcdir)/config/rs6000/sol-cn.asm
56 cat $(srcdir)/config/rs6000/sol-cn.asm >scrtn.S
57
58 scrt0.c: $(srcdir)/config/rs6000/sol-c0.c
59 cat $(srcdir)/config/rs6000/sol-c0.c >scrt0.c
60
61 # Build multiple copies of ?crt{i,n}.o, one for each target switch.
62 $(T)ecrti$(objext): ecrti.S
63 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c ecrti.S -o $(T)ecrti$(objext)
64
65 $(T)ecrtn$(objext): ecrtn.S
66 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c ecrtn.S -o $(T)ecrtn$(objext)
67
68 $(T)scrti$(objext): scrti.S
69 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c scrti.S -o $(T)scrti$(objext)
70
71 $(T)scrtn$(objext): scrtn.S
72 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c scrtn.S -o $(T)scrtn$(objext)
73
74 $(T)scrt0$(objext): scrt0.c
75 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c scrt0.c -o $(T)scrt0$(objext)
76
77 # It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata.
78 CRTSTUFF_T_CFLAGS = -msdata=none
79 CRTSTUFF_T_CFLAGS_S = -fpic -msdata=none
This page took 0.038893 seconds and 5 git commands to generate.