diff options
Diffstat (limited to 'gcc-4.2.1-5666.3/gcc/config/i386/t-darwin')
-rw-r--r-- | gcc-4.2.1-5666.3/gcc/config/i386/t-darwin | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc-4.2.1-5666.3/gcc/config/i386/t-darwin b/gcc-4.2.1-5666.3/gcc/config/i386/t-darwin new file mode 100644 index 000000000..5e6df6912 --- /dev/null +++ b/gcc-4.2.1-5666.3/gcc/config/i386/t-darwin @@ -0,0 +1,22 @@ +SHLIB_VERPFX = $(srcdir)/config/i386/darwin-libgcc +# APPLE LOCAL begin 4099000 +LIB1ASMSRC = i386/lib1funcs.asm +LIB1ASMFUNCS = _get_pc_thunk_ax _get_pc_thunk_dx _get_pc_thunk_cx _get_pc_thunk_bx _get_pc_thunk_si _get_pc_thunk_di _get_pc_thunk_bp +# APPLE LOCAL end 4099000 +# APPLE LOCAL avoid try fat on thin system +ifneq ($(shell lipo -info /usr/lib/libSystem.B.dylib | grep x86_64),) +MULTILIB_OPTIONS = m64 +MULTILIB_DIRNAMES = x86_64 +# APPLE LOCAL avoid try fat on thin system +endif +LIB2_SIDITI_CONV_FUNCS=yes +LIB2FUNCS_EXTRA = $(srcdir)/config/darwin-64.c + +# APPLE LOCAL begin gcov 5573505 +# -pipe because there's an assembler bug, 4077127, which causes +# it to not properly process the first # directive, causing temporary +# file names to appear in stabs, causing the bootstrap to fail. Using -pipe +# works around this by not having any temporary file names. +TARGET_LIBGCC2_CFLAGS = -fPIC -pipe +TARGET_LIBGCC2_STATIC_CFLAGS = -mmacosx-version-min=10.4 +# APPLE LOCAL end gcov 5573505 |