summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-23 09:49:28 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-23 09:49:28 +0000
commite21f958766601f20c29dda516c84e8240e01cbdc (patch)
treefc9c5459806e88a34d0c675bdf00a8da5ccebb46 /gcc/ChangeLog
parentc6f0dbcb24d31a40f49ace874e3a23ce67e71552 (diff)
downloadgcc-e21f958766601f20c29dda516c84e8240e01cbdc.tar.gz
[PATCH] Allow indirect call via GOT for 64-bit Pmode x32
From: H.J. Lu <hongjiu.lu@intel.com> Since Pmode is 64-bit with -maddress-mode=long for x32, indirect call via GOT slot doesn't need zero_extend. This patch enables indirect call via GOT for x32 with 64-bit Pmode. gcc/ PR target/66232 * config/i386/constraints.md (Bs): Allow GOT slot for x32 with 64-bit Pmode. (Bw): Likewise. (Bz): Likewise. * config/i386/predicates.md (call_insn_operand): Likewise. (sibcall_insn_operand): Likewise. gcc/testsuite/ PR target/66232 * gcc.target/i386/pr66232-10.c: New test. * gcc.target/i386/pr66232-11.c: Likewise. * gcc.target/i386/pr66232-12.c: Likewise. * gcc.target/i386/pr66232-13.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231923 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 032e2da5995..05c6460466d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+2015-12-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/66232
+ * config/i386/constraints.md (Bs): Allow GOT slot for x32 with
+ 64-bit Pmode.
+ (Bw): Likewise.
+ (Bz): Likewise.
+ * config/i386/predicates.md (call_insn_operand): Likewise.
+ (sibcall_insn_operand): Likewise.
+
2015-12-22 David Malcolm <dmalcolm@redhat.com>
PR c/68473