gcc/gcc41-pr28482.patch

20 lines
738 B
Diff
Raw Normal View History

2007-05-03 21:56:10 +00:00
2007-05-02 Jakub Jelinek <jakub@redhat.com>
PR libgomp/28482
* configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
--- libgomp/configure.tgt.jj 2007-04-20 12:55:40.000000000 +0200
+++ libgomp/configure.tgt 2007-05-02 17:32:15.000000000 +0200
2007-05-03 22:15:08 +00:00
@@ -11,11 +11,8 @@
2007-05-03 21:56:10 +00:00
# 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.
2007-05-03 22:15:08 +00:00
if test $have_tls = yes && test "$with_gnu_ld" = "yes"; then
2007-05-03 21:56:10 +00:00
XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
- XLDFLAGS="${XLDFLAGS} -Wl,-z,nodlopen"
fi
2007-05-03 22:15:08 +00:00
# Since we require POSIX threads, assume a POSIX system by default.