re PR libgomp/28482 (Cannot use libgomp in shared library)
authorJakub Jelinek <jakub@redhat.com>
Fri, 4 May 2007 19:21:18 +0000 (21:21 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 4 May 2007 19:21:18 +0000 (21:21 +0200)
PR libgomp/28482
* configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.

From-SVN: r124445

libgomp/ChangeLog
libgomp/configure.tgt

index d6f08fd9089373b416fc83cf50b38732be1fc656..5e5f927cf795c5141acf0b3d01e605bbac424024 100644 (file)
@@ -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.
index 4790d66d8c63bfd4faac8eb8ff13607853bfbab5..f46210c3647cef186da7035b4667afe5a34f241e 100644 (file)
 #  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