re PR target/49541 (TLS support partially broken in 64-bit mode)
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 18 Jul 2011 12:09:18 +0000 (12:09 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 18 Jul 2011 12:09:18 +0000 (12:09 +0000)
PR target/49541
* testsuite/lib/libgomp.exp (libgomp_init): Don't add -lgomp to
ldflags.

From-SVN: r176393

libgomp/ChangeLog
libgomp/testsuite/lib/libgomp.exp

index 36c716c..9225401 100644 (file)
@@ -1,3 +1,9 @@
+2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR target/49541
+       * testsuite/lib/libgomp.exp (libgomp_init): Don't add -lgomp to
+       ldflags.
+
 2011-07-15  Jakub Jelinek  <jakub@redhat.com>
 
        * config/linux/wait.h (do_spin): New inline, largely copied
index 0b0b608..976543d 100644 (file)
@@ -137,7 +137,6 @@ proc libgomp_init { args } {
         lappend ALWAYS_CFLAGS "ldflags=-L${blddir}/.libs"
     }
     lappend ALWAYS_CFLAGS "additional_flags=-I${srcdir}/.."
-    lappend ALWAYS_CFLAGS "ldflags=-lgomp"
 
     # We use atomic operations in the testcases to validate results.
     if { ([istarget i?86-*-*] || [istarget x86_64-*-*])