re PR target/49541 (TLS support partially broken in 64-bit mode)

PR target/49541
	* testsuite/lib/libgomp.exp (libgomp_init): Don't add -lgomp to
	ldflags.

From-SVN: r176393
This commit is contained in:
Rainer Orth 2011-07-18 12:09:18 +00:00 committed by Rainer Orth
parent eac8f5bd08
commit c1f5148401
2 changed files with 6 additions and 1 deletions

View 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

View 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-*-*])