libexo/sc7fw: support release/debug/audit

This commit is contained in:
Michael Scire
2020-11-14 12:17:38 -08:00
parent f74527d93c
commit 71a38ae74d
14 changed files with 413 additions and 47 deletions

View File

@@ -28,3 +28,40 @@ ret_uidivmod_values:
bx lr
.type ret_uidivmod_values, %function
.size ret_uidivmod_values, .-ret_uidivmod_values
/*
* __value_in_regs lldiv_t __aeabi_ldivmod( long long n, long long d)
*/
.section .text.__aeabi_ldivmod, "ax", %progbits
.globl __aeabi_ldivmod
.align 0
.syntax unified
__aeabi_ldivmod:
push {ip, lr}
push {r0-r3}
mov r0, sp
bl __l_divmod
pop {r0-r3}
pop {ip, pc}
.type __aeabi_ldivmod, %function
.size __aeabi_ldivmod, .-__aeabi_ldivmod
/*
* __value_in_regs ulldiv_t __aeabi_uldivmod(
* unsigned long long n, unsigned long long d)
*/
.section .text.__aeabi_uldivmod , "ax", %progbits
.globl __aeabi_uldivmod
.align 0
.syntax unified
__aeabi_uldivmod :
push {ip, lr}
push {r0-r3}
mov r0, sp
bl __ul_divmod
pop {r0-r3}
pop {ip, pc}
.type __aeabi_uldivmod, %function
.size __aeabi_uldivmod, .-__aeabi_uldivmod