ea4e901fa3
This reorganises the Darwin symbol vers files to include the generic ones at the top level; allowing for arch ports to override (via either exclusion or inclusion as needed). We add an X86-specific vers file containing the new HF symbols. Note that although Darwin does not use ELF-style symbol versioning - the parser that produces the map can consume it. Using the ELF-style description will help us know at which rev the symbols were introduced. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> libgcc/ChangeLog: * config/i386/t-darwin: Add in a vers file for X86-specific symbols. * config/t-darwin: Add the generic symbol maps here... * config/t-slibgcc-darwin: ... removing from here. * config/i386/libgcc-darwin.ver: New file.
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
# Set this as a minimum (unless overriden by arch t-files) since it's a
|
||
# reasonable lowest common denominator that works for all our archs.
|
||
HOST_LIBGCC2_CFLAGS += -mmacosx-version-min=10.4
|
||
|
||
crt3.o: $(srcdir)/config/darwin-crt3.c
|
||
$(crt_compile) -mmacosx-version-min=10.4 -c $<
|
||
|
||
crttms.o: $(srcdir)/config/darwin-crt-tm.c
|
||
$(crt_compile) -mmacosx-version-min=10.4 -DSTART -c $<
|
||
|
||
crttme.o: $(srcdir)/config/darwin-crt-tm.c
|
||
$(crt_compile) -mmacosx-version-min=10.4 -DEND -c $<
|
||
|
||
# Use unwind-dw2-fde-darwin
|
||
LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/config/unwind-dw2-fde-darwin.c \
|
||
$(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
|
||
|
||
# Patch to __Unwind_Find_Enclosing_Function for Darwin10.
|
||
d10-uwfef.o: $(srcdir)/config/darwin10-unwind-find-enc-func.c
|
||
$(crt_compile) -mmacosx-version-min=10.6 -c $<
|
||
|
||
# Using this crt as a library means that it will not be added to an exe
|
||
# (or module) unless needed.
|
||
libd10-uwfef.a: d10-uwfef.o
|
||
$(AR_CREATE_FOR_TARGET) $@ d10-uwfef.o
|
||
$(RANLIB_FOR_TARGET) $@
|
||
|
||
# Symbols for all the sub-ports.
|
||
SHLIB_MAPFILES = libgcc-std.ver $(srcdir)/config/libgcc-libsystem.ver
|