diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2018-01-26 12:34:16 +0100 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2018-01-26 12:34:16 +0100 |
commit | 20565692f0d31da53aab96fc0a8a4eaab2c2b142 (patch) | |
tree | 81ec1408844e868a63e5e368970752a97ae03c64 /gcc/stack-ptr-mod.c | |
parent | 048c6a9adcbe3dbf58cac405ebc39d94ea6c025b (diff) | |
download | gcc-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