aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2021-11-05 15:05:15 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2021-11-05 15:36:32 +0000
commitb33b2678342c655ff8ddb9fab379b26f656adc03 (patch)
treed6333e2dec4ddb709119e844aba71fa3502fc255 /libgcc
parenta505e1fae4378254275ec292bd5299a16357de90 (diff)
downloadgcc-b33b2678342c655ff8ddb9fab379b26f656adc03.zip
gcc-b33b2678342c655ff8ddb9fab379b26f656adc03.tar.gz
gcc-b33b2678342c655ff8ddb9fab379b26f656adc03.tar.bz2
AArch64: Fix PR103085
The stack protector implementation hides symbols in a const unspec, which means movdi/movsi patterns must always support const on symbol operands and explicitly strip away the unspec. Do this for the recently added GOT alternatives. Add a test to ensure stack-protector tests GOT accesses as well. 2021-11-05 Wilco Dijkstra <wdijkstr@arm.com> PR target/103085 * config/aarch64/aarch64.c (aarch64_mov_operand_p): Strip the salt first. * config/aarch64/constraints.md: Support const in Usw. gcc/testsuite/ PR target/103085 * gcc.target/aarch64/pr103085.c: New test
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions