base/asm-common.h, */*.S: New macros for making stack-unwinding tables.
[catacomb] / symm / rijndael-arm-crypto.S
index 4d7312d..1e55169 100644 (file)
@@ -70,7 +70,7 @@ FUNC(rijndael_setup_arm_crypto)
        //      r2 = pointer to key material
        //      r3 = key size in words
 
-       stmfd   sp!, {r4-r9, r14}
+       pushreg {r4-r9, r14}
 
        // The initial round key material is taken directly from the input
        // key, so copy it over.  Unfortunately, the key material is not
@@ -209,7 +209,7 @@ FUNC(rijndael_setup_arm_crypto)
        bl      endswap_block
 
        // All done.
-9:     ldmfd   sp!, {r4-r9, pc}
+9:     popreg  {r4-r9, pc}
 
 ENDFUNC