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.
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