From e04a1fdc5d173586408421144a0cd79d1767f918 Mon Sep 17 00:00:00 2001 From: Nick Kledzik Date: Tue, 21 May 2013 23:02:04 +0000 Subject: enable __atomic_* functions for Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182435 91177308-0d34-0410-b5e6-96231b3b80d8 --- make/AppleBI.mk | 1 + make/platform/darwin_bni.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'make') diff --git a/make/AppleBI.mk b/make/AppleBI.mk index bb7885306..d3d477130 100644 --- a/make/AppleBI.mk +++ b/make/AppleBI.mk @@ -61,6 +61,7 @@ $(OBJROOT)/libcompiler_rt-%.dylib : $(OBJROOT)/darwin_bni/Release/%/libcompiler_ -Wl,-upward-lunwind \ -Wl,-upward-lsystem_m \ -Wl,-upward-lsystem_c \ + -Wl,-upward-lsystem_platform \ -Wl,-ldyld \ -Wl,-lsystem_kernel \ -L$(SDKROOT)/usr/lib/system \ diff --git a/make/platform/darwin_bni.mk b/make/platform/darwin_bni.mk index d12cfdff7..afd04313e 100644 --- a/make/platform/darwin_bni.mk +++ b/make/platform/darwin_bni.mk @@ -47,7 +47,7 @@ FUNCTIONS := absvdi2 absvsi2 addvdi3 addvsi3 ashldi3 ashrdi3 \ mulodi4 muloti4 mulsc3 mulvdi3 mulvsi3 negdi2 negvdi2 negvsi2 \ paritydi2 paritysi2 popcountdi2 popcountsi2 powidf2 \ powisf2 subvdi3 subvsi3 ucmpdi2 udivdi3 \ - udivmoddi4 umoddi3 apple_versioning eprintf + udivmoddi4 umoddi3 apple_versioning eprintf atomic FUNCTIONS.i386 := $(FUNCTIONS) \ divxc3 fixunsxfdi fixunsxfsi fixxfdi floatdixf \ -- cgit v1.2.3