X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/9fe2e812f140d580d1150ffcb5010515d8b68dae..c85d18294c18f1b4a80c535789b991f700ea1bd7:/base/regdump-arm64.S diff --git a/base/regdump-arm64.S b/base/regdump-arm64.S index 81c9f8e7..1dacf2c8 100644 --- a/base/regdump-arm64.S +++ b/base/regdump-arm64.S @@ -56,10 +56,6 @@ FUNC(regdump_gpsave) stp x2, x3, [sp, #16] stp x4, x5, [sp, #32] stp x6, x7, [sp, #48] - stp x8, x9, [sp, #64] - stp x10, x11, [sp, #80] - stp x12, x13, [sp, #96] - stp x14, x15, [sp, #112] stp x18, x19, [sp, #144] stp x20, x21, [sp, #160] stp x22, x23, [sp, #176] @@ -73,10 +69,6 @@ FUNC(regdump_gpsave) add x0, x20, #REGDUMP_GPSIZE str x0, [x20, #31*8] - // Capture the status flags. - mrs x0, nzcv - str x0, [x20, #8*REGIX_NZCV] - // Set the return address as our PC. str x30, [x20, #8*REGIX_PC] @@ -127,7 +119,8 @@ FUNC(regdump_xtsave) endprologue // On entry, sp points to an extended save area, of size determined // by `regdump_gpsave' above. On exit, the save area is filled in - // and a handy map placed at its base. + // and a handy map placed at its base, and x21 is left pointing + // pointing to the register map. // Set up the map/extended save area pointer. mov x21, sp