re PR other/39888 (TLS emutls not linked to automatically on Darwin)
authorIain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
Wed, 18 Nov 2009 07:37:04 +0000 (07:37 +0000)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 18 Nov 2009 07:37:04 +0000 (08:37 +0100)
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

gcc/ChangeLog
gcc/config/darwin.h

index 256721f..2d615af 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2009-11-18  Alexandre Oliva  <aoliva@redhat.com>
 
        PR debug/41926
index f671442..4152f24 100644 (file)
@@ -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.