OSDN Git Service

db4b936dcbff4cd651324212119d0a59d36eb049
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / t-ppcgas
1 # Do not build libgcc1.
2 LIBGCC1 =
3 CROSS_LIBGCC1 =
4
5 # These are really part of libgcc1, but this will cause them to be
6 # built correctly, so... [taken from t-sparclite]
7 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
8
9 dp-bit.c: $(srcdir)/config/fp-bit.c
10         cat $(srcdir)/config/fp-bit.c > dp-bit.c
11
12 fp-bit.c: $(srcdir)/config/fp-bit.c
13         echo '#define FLOAT' > fp-bit.c
14         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
15
16 # Build libgcc.a with different options.
17
18 MULTILIB_OPTIONS        = msoft-float \
19                           mlittle
20
21 MULTILIB_DIRNAMES       = soft-float \
22                           little-endian
23
24 MULTILIB_MATCHES        = mlittle=mlittle-endian \
25                           msoft-float=mcpu?403 \
26                           msoft-float=mcpu?mpc403 \
27                           msoft-float=mcpu?ppc403
28
29 LIBGCC = stmp-multilib
30 INSTALL_LIBGCC = install-multilib