1 # These functions are needed for soft-float on powerpc64-linux.
2 LIB2FUNCS_EXTRA = tramp.S $(srcdir)/config/rs6000/ppc64-fp.c
4 # Modify the shared lib version file
5 SHLIB_MKMAP_OPTS = -v dotsyms=1
7 MULTILIB_OPTIONS = m64/m32 msoft-float
8 MULTILIB_DIRNAMES = 64 32 nof
9 MULTILIB_EXTRA_OPTS = fPIC mstrict-align
10 MULTILIB_EXCEPTIONS = m64/msoft-float
11 MULTILIB_EXCLUSIONS = m64/!m32/msoft-float
12 MULTILIB_OSDIRNAMES = ../lib64 ../lib nof
13 MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)
15 TARGET_LIBGCC2_CFLAGS = -mno-minimal-toc -fPIC
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
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
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