This series of patches are the AArch64 changes needed before SVE support goes in. It's based on top of:
https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01163.html and Jeff's latest stach-clash protection changes. Series tested on aarch64-linux-gnu. Richard