Only save the registers that are used.

This commit is contained in:
cognet 2005-10-03 14:07:09 +00:00
parent 89d66c6bc0
commit 657fc19bcb

View File

@ -93,10 +93,10 @@ ENTRY(in_cksum)
ENTRY(do_cksum)
stmfd sp!, {r4-r11, lr}
stmfd sp!, {r4-r7, lr}
bl L_cksumdata
mov r0, r2
ldmfd sp!, {r4-r11, pc}
ldmfd sp!, {r4-r7, pc}
/*
* The main in*_cksum() workhorse...
*