summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-29 17:30:28 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-29 17:30:28 +0000
commitc2ff8d9b4ee2df86a2c349991b4126f4f3904080 (patch)
tree6268ccc232ec3b6a1e160a0c1b04c248b397bc3f /src/patchsets/gcc/4.2.4
parentupdated spanish translation (enrique barbeito garcia) (diff)
downloadgentoo-c2ff8d9b4ee2df86a2c349991b4126f4f3904080.tar.gz
gentoo-c2ff8d9b4ee2df86a2c349991b4126f4f3904080.tar.bz2
gentoo-c2ff8d9b4ee2df86a2c349991b4126f4f3904080.zip
backport fix for pr28482 to gcc-4.2
Diffstat (limited to 'src/patchsets/gcc/4.2.4')
-rw-r--r--src/patchsets/gcc/4.2.4/gentoo/63_all_gcc42-pr28482.patch24
-rw-r--r--src/patchsets/gcc/4.2.4/gentoo/README.history3
2 files changed, 27 insertions, 0 deletions
diff --git a/src/patchsets/gcc/4.2.4/gentoo/63_all_gcc42-pr28482.patch b/src/patchsets/gcc/4.2.4/gentoo/63_all_gcc42-pr28482.patch
new file mode 100644
index 0000000000..b82abf3d25
--- /dev/null
+++ b/src/patchsets/gcc/4.2.4/gentoo/63_all_gcc42-pr28482.patch
@@ -0,0 +1,24 @@
+http://gcc.gnu.org/PR28482
+
+2007-05-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR libgomp/28482
+ * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
+
+--- gcc-4_3-branch/libgomp/configure.tgt (revision 124444)
++++ gcc-4_3-branch/libgomp/configure.tgt (revision 124445)
+@@ -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
diff --git a/src/patchsets/gcc/4.2.4/gentoo/README.history b/src/patchsets/gcc/4.2.4/gentoo/README.history
index c2b3a89b94..3fd17c3c70 100644
--- a/src/patchsets/gcc/4.2.4/gentoo/README.history
+++ b/src/patchsets/gcc/4.2.4/gentoo/README.history
@@ -1,3 +1,6 @@
+1.2 [pending]
+ + 63_all_gcc42-pr28482.patch
+
1.1 15.01.2009
+ 69_all_gcc43-hppa-delay-slot.patch