]>
Commit | Line | Data |
---|---|---|
2a78758b | 1 | |
fb7e4164 AM |
2 | #rs6000/t-linux64 |
3 | ||
4 | LIB2FUNCS_EXTRA = tramp.S $(srcdir)/config/rs6000/ppc64-fp.c \ | |
5 | $(srcdir)/config/rs6000/darwin-ldouble.c | |
6 | ||
602ea4d3 | 7 | TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc |
a2e9374a | 8 | |
9739c90c JJ |
9 | MULTILIB_OPTIONS = m64/m32 msoft-float |
10 | MULTILIB_DIRNAMES = 64 32 nof | |
11 | MULTILIB_EXTRA_OPTS = fPIC mstrict-align | |
12 | MULTILIB_EXCEPTIONS = m64/msoft-float | |
13 | MULTILIB_EXCLUSIONS = m64/!m32/msoft-float | |
14 | MULTILIB_OSDIRNAMES = ../lib64 ../lib nof | |
15 | MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) | |
2b24fc41 | 16 | |
9739c90c JJ |
17 | # We want fine grained libraries, so use the new code to build the |
18 | # floating point emulation libraries. | |
19 | # fp-bit is only to be used by 32-bit multilibs | |
20 | FPBIT = fp-bit32.c | |
21 | DPBIT = dp-bit32.c | |
4078e224 | 22 | |
9739c90c JJ |
23 | dp-bit32.c: $(srcdir)/config/fp-bit.c |
24 | ( echo '#ifndef __powerpc64__'; \ | |
25 | cat $(srcdir)/config/fp-bit.c; \ | |
26 | echo '#endif' ) > dp-bit32.c | |
27 | ||
28 | fp-bit32.c: $(srcdir)/config/fp-bit.c | |
29 | ( echo '#ifndef __powerpc64__'; \ | |
30 | echo '#define FLOAT'; \ | |
31 | cat $(srcdir)/config/fp-bit.c; \ | |
32 | echo '#endif' ) > fp-bit32.c |