aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-05-04 21:21:18 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2007-05-04 21:21:18 +0200
commitf1028b0230c00b8148713c3981d88930c04ce1b6 (patch)
tree641d48126d82cb7111cfe4d0b8f074947d7d3e3a /libgomp
parent3fc95619f64d0e1424489936c6b1cf9cf33c5ddc (diff)
downloadgcc-f1028b0230c00b8148713c3981d88930c04ce1b6.zip
gcc-f1028b0230c00b8148713c3981d88930c04ce1b6.tar.gz
gcc-f1028b0230c00b8148713c3981d88930c04ce1b6.tar.bz2
re PR libgomp/28482 (Cannot use libgomp in shared library)
PR libgomp/28482 * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux. From-SVN: r124445
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog3
-rw-r--r--libgomp/configure.tgt3
2 files changed, 3 insertions, 3 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index d6f08fd..5e5f927 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -2,6 +2,9 @@
* config/linux/proc.c: New file.
+ PR libgomp/28482
+ * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
+
2007-04-19 Daniel Franke <franke.daniel@gmail.com>
* libgomp.texi (GOMP_CPU_AFFINITY): Updated.
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index 4790d66..f46210c 100644
--- a/libgomp/configure.tgt
+++ b/libgomp/configure.tgt
@@ -11,14 +11,11 @@
# XLDFLAGS Add extra link flags to use.
# Optimize TLS usage by avoiding the overhead of dynamic allocation.
-# This does require that the library be present during process
-# startup, so mark the library as not to be dlopened.
if test $have_tls = yes ; then
case "${target}" in
*-*-linux*)
XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
- XLDFLAGS="${XLDFLAGS} -Wl,-z,nodlopen"
;;
esac
fi