aboutsummaryrefslogtreecommitdiff
path: root/4.3.2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-10 11:19:21 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-10 11:19:21 +0000
commit5043ec23d54f4239863660262d5424fe7a20e289 (patch)
treec73e4220c677eb8489dc67c715cd4752b1c29449 /4.3.2
parentRemove duplicate, unused hardenednopie spec file. (diff)
downloadgcc-patches-5043ec23d54f4239863660262d5424fe7a20e289.tar.gz
gcc-patches-5043ec23d54f4239863660262d5424fe7a20e289.tar.bz2
gcc-patches-5043ec23d54f4239863660262d5424fe7a20e289.zip
add fix from upstream for delay slot issues #228287
Diffstat (limited to '4.3.2')
-rw-r--r--4.3.2/gentoo/69_all_gcc43-hppa-delay-slot.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/4.3.2/gentoo/69_all_gcc43-hppa-delay-slot.patch b/4.3.2/gentoo/69_all_gcc43-hppa-delay-slot.patch
new file mode 100644
index 0000000..5573121
--- /dev/null
+++ b/4.3.2/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