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