aboutsummaryrefslogtreecommitdiff
path: root/4.2.4
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-01-15 16:09:58 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-01-15 16:09:58 +0000
commit66ecf320710a9b473e67105cb9184b0d8449d092 (patch)
treea7f766a9dce7c4b4bd66c852f6be6d4a7677b303 /4.2.4
parentadd fix from upstream #237997 (diff)
downloadgcc-patches-66ecf320710a9b473e67105cb9184b0d8449d092.tar.gz
gcc-patches-66ecf320710a9b473e67105cb9184b0d8449d092.tar.bz2
gcc-patches-66ecf320710a9b473e67105cb9184b0d8449d092.zip
Backport to 4.2.4 for HPPA; bug #228287
Diffstat (limited to '4.2.4')
-rw-r--r--4.2.4/gentoo/69_all_gcc43-hppa-delay-slot.patch16
-rw-r--r--4.2.4/gentoo/README.history3
2 files changed, 19 insertions, 0 deletions
diff --git a/4.2.4/gentoo/69_all_gcc43-hppa-delay-slot.patch b/4.2.4/gentoo/69_all_gcc43-hppa-delay-slot.patch
new file mode 100644
index 0000000..5573121
--- /dev/null
+++ b/4.2.4/gentoo/69_all_gcc43-hppa-delay-slot.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/228287
+http://thread.gmane.org/gmane.linux.ports.parisc/1131
+
+--- trunk/gcc/config/pa/pa.c 2008/11/24 01:15:16 142147
++++ trunk/gcc/config/pa/pa.c 2009/01/06 04:00:28 143113
+@@ -7547,7 +7547,9 @@
+ if (seq_length != 0
+ && GET_CODE (NEXT_INSN (insn)) != JUMP_INSN
+ && !sibcall
+- && (!TARGET_PA_20 || indirect_call))
++ && (!TARGET_PA_20
++ || indirect_call
++ || ((TARGET_LONG_ABS_CALL || local_call) && !flag_pic)))
+ {
+ /* A non-jump insn in the delay slot. By definition we can
+ emit this insn before the call (and in fact before argument
diff --git a/4.2.4/gentoo/README.history b/4.2.4/gentoo/README.history
index c4acf69..c2b3a89 100644
--- a/4.2.4/gentoo/README.history
+++ b/4.2.4/gentoo/README.history
@@ -1,3 +1,6 @@
+1.1 15.01.2009
+ + 69_all_gcc43-hppa-delay-slot.patch
+
1.0 22.05.2008
+ 00_all_gcc-4.1-alpha-mieee-default.patch
+ 00_all_gcc-trampolinewarn.patch