1 LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/darwin-tramp.asm \
2 $(srcdir)/config/rs6000/darwin-ldouble.c
4 LIB2FUNCS_STATIC_EXTRA = \
5 $(srcdir)/config/rs6000/darwin-fpsave.asm \
6 $(srcdir)/config/rs6000/darwin-vecsave.asm \
7 $(srcdir)/config/rs6000/darwin-world.asm
9 DARWIN_EXTRA_CRT_BUILD_CFLAGS = -mlongcall
11 # The .asm files above are designed to run on all processors,
12 # even though they use AltiVec instructions. -Wa is used because
13 # -force_cpusubtype_ALL doesn't work with -dynamiclib.
15 # -pipe because there's an assembler bug, 4077127, which causes
16 # it to not properly process the first # directive, causing temporary
17 # file names to appear in stabs, causing the bootstrap to fail. Using -pipe
18 # works around this by not having any temporary file names.
19 TARGET_LIBGCC2_CFLAGS = -Wa,-force_cpusubtype_ALL -pipe
21 # Export the _xlq* symbols from darwin-ldouble.c.
22 SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ppc64.ver
24 SHLIB_VERPFX = $(srcdir)/config/rs6000/darwin-libgcc
26 LIB2ADDEH += $(srcdir)/config/rs6000/darwin-fallback.c
28 darwin-fpsave.o: $(srcdir)/config/rs6000/darwin-asm.h
29 darwin-tramp.o: $(srcdir)/config/rs6000/darwin-asm.h
31 # Explain how to build crt2.o
32 $(T)crt2$(objext): $(srcdir)/config/darwin-crt2.c $(GCC_PASSES) \
33 $(TCONFIG_H) stmp-int-hdrs tsystem.h
34 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
35 -c $(srcdir)/config/darwin-crt2.c -o $(T)crt2$(objext)