From 1b9112c69f2f3289701a3b4ef3f6e177c1bd81e9 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 3 May 2007 21:56:10 +0000 Subject: [PATCH] 4.1.2-12 --- gcc41-pr28482.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 gcc41-pr28482.patch diff --git a/gcc41-pr28482.patch b/gcc41-pr28482.patch new file mode 100644 index 0000000..3cff793 --- /dev/null +++ b/gcc41-pr28482.patch @@ -0,0 +1,22 @@ +2007-05-02 Jakub Jelinek + + 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 +@@ -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