1# Support for NetBSD PowerPC64 ELF targets (ELF64 ABI). 2 3LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/tramp.asm \ 4 $(srcdir)/config/rs6000/ppc64-fp.c \ 5 $(srcdir)/config/rs6000/darwin-ldouble.c 6 7TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc 8 9MULTILIB_OPTIONS = m64/m32 10MULTILIB_DIRNAMES = 64 32 11MULTILIB_OSDIRNAMES = . ../lib/powerpc 12 13MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) 14 15# We want fine grained libraries, so use the new code to build the 16# floating point emulation libraries. 17# fp-bit is only to be used by 32-bit multilibs 18FPBIT = fp-bit32.c 19DPBIT = dp-bit32.c 20 21dp-bit32.c: $(srcdir)/config/fp-bit.c 22 ( echo '#ifndef __powerpc64__'; \ 23 cat $(srcdir)/config/fp-bit.c; \ 24 echo '#endif' ) > dp-bit32.c 25 26fp-bit32.c: $(srcdir)/config/fp-bit.c 27 ( echo '#ifndef __powerpc64__'; \ 28 echo '#define FLOAT'; \ 29 cat $(srcdir)/config/fp-bit.c; \ 30 echo '#endif' ) > fp-bit32.c 31