diff options
author | Nick Kledzik <kledzik@apple.com> | 2013-05-21 23:02:04 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2013-05-21 23:02:04 +0000 |
commit | e04a1fdc5d173586408421144a0cd79d1767f918 (patch) | |
tree | 8f533ba0b6d13bcb50d61048df0da8c75b5b9654 /make | |
parent | d4ad20b6bb6e790dd8397bc6ca6a901781f7460f (diff) |
<rdar://problem/13806954> enable __atomic_* functions for Darwin
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r-- | make/AppleBI.mk | 1 | ||||
-rw-r--r-- | make/platform/darwin_bni.mk | 2 |
2 files changed, 2 insertions, 1 deletions
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 \ |