aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2006-11-13 20:35:20 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2006-11-13 20:35:20 +0000
commit597c25e65d1ba0f80796c91f8b1c6318fd353caa (patch)
treeb2bf509da6cdeb68219bd470f074906b26fc5f87 /libgomp
parentd296e02ef82ad43e90316bb15c4b97b9b3158bb5 (diff)
downloadgcc-597c25e65d1ba0f80796c91f8b1c6318fd353caa.zip
gcc-597c25e65d1ba0f80796c91f8b1c6318fd353caa.tar.gz
gcc-597c25e65d1ba0f80796c91f8b1c6318fd353caa.tar.bz2
* tls.m4 (GCC_CHECK_TLS): Fall back to a link test.
From-SVN: r118777
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog5
-rwxr-xr-xlibgomp/configure13
2 files changed, 11 insertions, 7 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index d0e94d2..56d4368 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,9 +1,12 @@
+2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure: Regenerated.
+
2006-11-09 Uros Bizjak <ubizjak@gmail.com>
* env.c (parse_schedule): Reject out of range values.
(parse_unsigned_long): Reject out of range, negative or zero values.
-
2006-10-29 Jakub Jelinek <jakub@redhat.com>
PR fortran/29629
diff --git a/libgomp/configure b/libgomp/configure
index a0e9417..c35e84d 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -8845,11 +8845,11 @@ else
if test "$cross_compiling" = yes; then
cat >conftest.$ac_ext <<_ACEOF
-__thread int foo;
+__thread int a; int b; int main() { return a = b; }
_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>conftest.er1
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
@@ -8863,7 +8863,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
- { ac_try='test -s conftest.$ac_objext'
+ { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
@@ -8876,7 +8876,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
have_tls=no
fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
else
cat >conftest.$ac_ext <<_ACEOF