https://sourceware.org/bugzilla/show_bug.cgi?id=19356

--- Comment #4 from Guonic <guonic at gmail dot com> ---
i have found the source code of syscall, implemented by ASM, and insert some of
unwind INS,which will fix the problem, could you help me to review it?

diff --git a/sysdeps/unix/sysv/linux/arm/syscall.S
b/sysdeps/unix/sysv/linux/arm/syscall.S
index c5582f8..71519fa 100644
--- a/sysdeps/unix/sysv/linux/arm/syscall.S
+++ b/sysdeps/unix/sysv/linux/arm/syscall.S
@@ -23,6 +23,8 @@

 ENTRY (syscall)
        mov     ip, sp
+    .fnstart
+    .save {r4, r5, r6, r7}
        push    {r4, r5, r6, r7}
        cfi_adjust_cfa_offset (16)
        cfi_rel_offset (r4, 0)
@@ -41,6 +43,7 @@ ENTRY (syscall)
        cfi_restore (r5)
        cfi_restore (r6)
        cfi_restore (r7)
+    .fnend
        cmn     r0, #4096
        it      cc
        RETINSTR(cc, lr)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to