0
|
1 LIB2FUNCS_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
|
|
7 LIB2FUNCS_STATIC_EXTRA = \
|
|
8 $(srcdir)/config/rs6000/darwin-fpsave.asm \
|
|
9 $(srcdir)/config/rs6000/darwin-vecsave.asm
|
|
10
|
|
11 DARWIN_EXTRA_CRT_BUILD_CFLAGS = -mlongcall -mmacosx-version-min=10.4
|
|
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.
|
|
21 TARGET_LIBGCC2_CFLAGS = -Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4
|
|
22
|
|
23 # Export the _xlq* symbols from darwin-ldouble.c.
|
|
24 SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ppc64.ver
|
|
25
|
|
26 LIB2ADDEH += $(srcdir)/config/rs6000/darwin-fallback.c
|
|
27
|
|
28 darwin-fpsave.o: $(srcdir)/config/rs6000/darwin-asm.h
|
|
29 darwin-tramp.o: $(srcdir)/config/rs6000/darwin-asm.h
|
|
30
|
|
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 $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) \
|
|
36 -c $(srcdir)/config/darwin-crt2.c -o $(T)crt2$(objext)
|