[PATCH] AArch64: Fix PR103085

2021-11-05 Thread Wilco Dijkstra via Gcc-patches
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.

Re: [PATCH] AArch64: Fix PR103085

2021-11-05 Thread Richard Sandiford via Gcc-patches
Wilco Dijkstra writes: > 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-p