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