OSDN Git Service

* config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / t-xnewas
1 # Same as t-newas, except don't build libgcc1-test.  This is because
2 # the compiler emits code to call external functions to save the
3 # arguments that are in libc, but since libgcc1-test is linked without
4 # libc, they will show up as errors.
5 LIBGCC1_TEST =
6
7 # Do not build libgcc1.
8 LIBGCC1 =
9 CROSS_LIBGCC1 =
10
11 # We want fine grained libraries, so use the new code to build the
12 # floating point emulation libraries.
13 FPBIT = fp-bit.c
14 DPBIT = dp-bit.c
15
16 dp-bit.c: $(srcdir)/config/fp-bit.c
17         cat $(srcdir)/config/fp-bit.c > dp-bit.c
18
19 fp-bit.c: $(srcdir)/config/fp-bit.c
20         echo '#define FLOAT' > fp-bit.c
21         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
22
23 # Build the libraries for both hard and soft floating point and all of the 
24 # different processor models
25
26 MULTILIB_OPTIONS        = msoft-float \
27                           mcpu=common/mcpu=power/mcpu=powerpc
28
29 MULTILIB_DIRNAMES       = soft-float \
30                           common power powerpc
31
32 MULTILIB_MATCHES        = msoft-float=mcpu?403 \
33                           mcpu?power=mpower \
34                           mcpu?power=mrios1 \
35                           mcpu?power=mcpu?rios1 \
36                           mcpu?power=mcpu?rsc \
37                           mcpu?power=mcpu?rsc1 \
38                           mcpu?power=mpower2 \
39                           mcpu?power=mrios2 \
40                           mcpu?power=mcpu=rios2 \
41                           mcpu?powerpc=mcpu?601 \
42                           mcpu?powerpc=mcpu?602 \
43                           mcpu?powerpc=mcpu?603 \
44                           mcpu?powerpc=mcpu?603e \
45                           mcpu?powerpc=mcpu?604 \
46                           mcpu?powerpc=mcpu?620 \
47                           mcpu?powerpc=mcpu?403 \
48                           mcpu?powerpc=mpowerpc \
49                           mcpu?powerpc=mpowerpc-gpopt \
50                           mcpu?powerpc=mpowerpc-gfxopt
51
52 LIBGCC = stmp-multilib
53 INSTALL_LIBGCC = install-multilib
54
55 # Aix 3.2.x needs milli.exp for -mcpu=common
56 EXTRA_PARTS = milli.exp
57 milli.exp: $(srcdir)/config/rs6000/milli.exp
58         rm -f milli.exp
59         cp $(srcdir)/config/rs6000/milli.exp ./milli.exp