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.
7 # Do not build libgcc1.
11 # These are really part of libgcc1, but this will cause them to be
12 # built correctly, so... [taken from t-sparclite]
13 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
15 dp-bit.c: $(srcdir)/config/fp-bit.c
16 cat $(srcdir)/config/fp-bit.c > dp-bit.c
18 fp-bit.c: $(srcdir)/config/fp-bit.c
19 echo '#define FLOAT' > fp-bit.c
20 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
22 # Build the libraries for both hard and soft floating point and all of the
23 # different processor models
25 MULTILIB_OPTIONS = msoft-float \
26 mcpu=common/mcpu=power/mcpu=powerpc
28 MULTILIB_DIRNAMES = soft-float \
31 MULTILIB_MATCHES = msoft-float=mcpu?403 \
34 mcpu?power=mcpu?rios1 \
36 mcpu?power=mcpu?rsc1 \
39 mcpu?power=mcpu=rios2 \
40 mcpu?powerpc=mcpu?601 \
41 mcpu?powerpc=mcpu?602 \
42 mcpu?powerpc=mcpu?603 \
43 mcpu?powerpc=mcpu?603e \
44 mcpu?powerpc=mcpu?604 \
45 mcpu?powerpc=mcpu?620 \
46 mcpu?powerpc=mcpu?403 \
47 mcpu?powerpc=mpowerpc \
48 mcpu?powerpc=mpowerpc-gpopt \
49 mcpu?powerpc=mpowerpc-gfxopt
51 LIBGCC = stmp-multilib
52 INSTALL_LIBGCC = install-multilib
54 # Aix 3.2.x needs milli.exp for -mcpu=common
55 EXTRA_PARTS = milli.exp
56 milli.exp: $(srcdir)/config/rs6000/milli.exp
58 cp $(srcdir)/config/rs6000/milli.exp ./milli.exp