From: Mark Wooding Date: Sun, 11 Oct 2020 23:18:15 +0000 (+0100) Subject: base/regdump-arm64.S, base/regdump.h: Save NZCV and x8--x15 early. X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/818bad9b1b5e68bdd26595a0ec5f513fe56ba174?hp=818bad9b1b5e68bdd26595a0ec5f513fe56ba174 base/regdump-arm64.S, base/regdump.h: Save NZCV and x8--x15 early. Alas, the processor flags /and/ at least x14 and x15 are clobbered by the PLT on-demand linkage machinery, so we must save them in the macro before calling out to the library. To be safe, preserve all of the non-argument call-clobbered registers. ---