aboutsummaryrefslogtreecommitdiff
path: root/gcc/stack-ptr-mod.c
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2018-01-26 12:34:16 +0100
committerClaudiu Zissulescu <claziss@gcc.gnu.org>2018-01-26 12:34:16 +0100
commit20565692f0d31da53aab96fc0a8a4eaab2c2b142 (patch)
tree81ec1408844e868a63e5e368970752a97ae03c64 /gcc/stack-ptr-mod.c
parent048c6a9adcbe3dbf58cac405ebc39d94ea6c025b (diff)
downloadgcc-20565692f0d31da53aab96fc0a8a4eaab2c2b142.zip
gcc-20565692f0d31da53aab96fc0a8a4eaab2c2b142.tar.gz
gcc-20565692f0d31da53aab96fc0a8a4eaab2c2b142.tar.bz2
[ARC] Rework delegitimate_address hook
Delegitimize address is used to undo the obfuscating effect of PIC addresses, returning the address in a way which is understood by the compiler. The old version of the hook was outdated, not beeing able to recognize the current addresses generated by the ARC backend. gcc/ 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.c (arc_delegitimize_address_0): Refactored to recognize new pic like addresses. (arc_delegitimize_address): Clean up. testsuite/ 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com> * testsuite/gcc.target/arc/tdelegitimize_addr.c: New test. From-SVN: r257084
Diffstat (limited to 'gcc/stack-ptr-mod.c')
0 files changed, 0 insertions, 0 deletions