This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/19356] unwind stack failed if stack including syscall on armv7


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

--- Comment #2 from Guonic <guonic at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #1)
> If one function has unwind info that relates to another function (as 
> opposed to EXIDX_CANTUNWIND for a function with no unwind info), that's a 
> bug in the static linker ld that was used to link glibc, not a bug in 
> glibc.  ld is meant to insert EXIDX_CANTUNWIND automatically for address 
> ranges without unwind info.

hi joseph,
thanks for your feedback, i think the unwind function for syscall(range
000d1970 - d199c) should be like
0xd1970: 0x80a3b0b0
  Compact model index: 0
  0xa3      pop {r4, r5, r6, r7}
  0xb0      finish
  0xb0      finish
, which can keep the register of SP is same, after unwind from syscall.

Did you mean this is the bug for ld?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]