chiark / gitweb /
base/regdump-arm64.S, base/regdump.h: Save NZCV and x8--x15 early.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 11 Oct 2020 23:18:15 +0000 (00:18 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 11 Oct 2020 23:18:15 +0000 (00:18 +0100)
commit818bad9b1b5e68bdd26595a0ec5f513fe56ba174
tree325fcf97fce7487d604df1994549e5126a84e9ba
parent6a3d653c3ef38efa52448d6db0d2efab098224a5
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.
base/regdump-arm64.S
base/regdump.h