aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorIain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>2009-11-18 07:37:04 +0000
committerAndreas Tobler <andreast@gcc.gnu.org>2009-11-18 08:37:04 +0100
commita64333b7ea23dfc1d9d512adfbfec1aeeb9e9366 (patch)
tree17758787b0d540ceccb401b2a13c2698ebfa9f75 /gcc/config
parentca8520ad530cf7c938b6907adb845f3768022478 (diff)
downloadgcc-a64333b7ea23dfc1d9d512adfbfec1aeeb9e9366.zip
gcc-a64333b7ea23dfc1d9d512adfbfec1aeeb9e9366.tar.gz
gcc-a64333b7ea23dfc1d9d512adfbfec1aeeb9e9366.tar.bz2
re PR other/39888 (TLS emutls not linked to automatically on Darwin)
2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> PR other/39888 * config/darwin.h: Use the extension stub libraries to access current libgcc_s features. From-SVN: r154283
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/darwin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index f671442..4152f24 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -393,9 +393,13 @@ extern GTY(()) int darwin_ms_struct;
shared-libgcc|fexceptions|fgnu-runtime: \
%:version-compare(!> 10.5 mmacosx-version-min= -lgcc_s.10.4) \
%:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.10.5) \
+ %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_ext.10.4) \
+ %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_ext.10.5) \
-lgcc; \
:%:version-compare(>< 10.3.9 10.5 mmacosx-version-min= -lgcc_s.10.4) \
%:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.10.5) \
+ %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_ext.10.4) \
+ %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_ext.10.5) \
-lgcc}"
/* We specify crt0.o as -lcrt0.o so that ld will search the library path.