diff options
Diffstat (limited to 'libc/arch-arm/bionic')
-rw-r--r-- | libc/arch-arm/bionic/__bionic_clone.S | 1 | ||||
-rw-r--r-- | libc/arch-arm/bionic/abort_arm.S | 1 | ||||
-rw-r--r-- | libc/arch-arm/bionic/memcmp.S | 1 | ||||
-rw-r--r-- | libc/arch-arm/bionic/memcmp16.S | 1 | ||||
-rw-r--r-- | libc/arch-arm/bionic/syscall.S | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/libc/arch-arm/bionic/__bionic_clone.S b/libc/arch-arm/bionic/__bionic_clone.S index 7b76f5e..72f4892 100644 --- a/libc/arch-arm/bionic/__bionic_clone.S +++ b/libc/arch-arm/bionic/__bionic_clone.S @@ -31,6 +31,7 @@ // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg); ENTRY(__bionic_clone) mov ip, sp + .save {r4, r5, r6, r7} # save registers to parent stack stmfd sp!, {r4, r5, r6, r7} .cfi_def_cfa_offset 16 diff --git a/libc/arch-arm/bionic/abort_arm.S b/libc/arch-arm/bionic/abort_arm.S index 1aaf21a..2fc2913 100644 --- a/libc/arch-arm/bionic/abort_arm.S +++ b/libc/arch-arm/bionic/abort_arm.S @@ -36,6 +36,7 @@ * sequence when the crash happens. */ ENTRY(abort) + .save {r3, r14} stmfd sp!, {r3, r14} .cfi_def_cfa_offset 8 .cfi_rel_offset r3, 0 diff --git a/libc/arch-arm/bionic/memcmp.S b/libc/arch-arm/bionic/memcmp.S index 0dc3af0..921f8ef 100644 --- a/libc/arch-arm/bionic/memcmp.S +++ b/libc/arch-arm/bionic/memcmp.S @@ -108,6 +108,7 @@ ENTRY(memcmp) #endif /* save registers */ + .save {r4, lr} stmfd sp!, {r4, lr} .cfi_def_cfa_offset 8 .cfi_rel_offset r4, 0 diff --git a/libc/arch-arm/bionic/memcmp16.S b/libc/arch-arm/bionic/memcmp16.S index afbb1b0..26a1bf3 100644 --- a/libc/arch-arm/bionic/memcmp16.S +++ b/libc/arch-arm/bionic/memcmp16.S @@ -75,6 +75,7 @@ ENTRY(__memcmp16) /* save registers */ + .save {r4, lr} 0: stmfd sp!, {r4, lr} .cfi_def_cfa_offset 8 .cfi_rel_offset r4, 0 diff --git a/libc/arch-arm/bionic/syscall.S b/libc/arch-arm/bionic/syscall.S index 8647718..5a6627b 100644 --- a/libc/arch-arm/bionic/syscall.S +++ b/libc/arch-arm/bionic/syscall.S @@ -30,6 +30,7 @@ ENTRY(syscall) mov ip, sp + .save {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7} .cfi_def_cfa_offset 16 .cfi_rel_offset r4, 0 |