diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2015-12-23 09:49:28 +0000 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2015-12-23 10:49:28 +0100 |
commit | fa87d16dcf766d1754837e71d5a1abc97a9e0c8b (patch) | |
tree | fc9c5459806e88a34d0c675bdf00a8da5ccebb46 /libsanitizer | |
parent | fc9ca1a0a1632f1cd0884bbc434b00e8be09a4b5 (diff) | |
download | gcc-fa87d16dcf766d1754837e71d5a1abc97a9e0c8b.zip gcc-fa87d16dcf766d1754837e71d5a1abc97a9e0c8b.tar.gz gcc-fa87d16dcf766d1754837e71d5a1abc97a9e0c8b.tar.bz2 |
[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.
From-SVN: r231923
Diffstat (limited to 'libsanitizer')
0 files changed, 0 insertions, 0 deletions