]> git.ipfire.org Git - thirdparty/glibc.git/commit
C-SKY: mark lr as undefined to stop unwinding
authorMao Han <han_mao@c-sky.com>
Mon, 11 Mar 2019 01:51:14 +0000 (09:51 +0800)
committerMao Han <han_mao@c-sky.com>
Mon, 11 Mar 2019 01:51:14 +0000 (09:51 +0800)
commitc4e5f34bf0d818be747edf9a30e4152953cc6706
tree5a949262e0659412ca4398ac4be1af56fe59207b
parent827e30f3a31ee294eb23dc572f8af62158049257
C-SKY: mark lr as undefined to stop unwinding

Mark the lr register as undefined at the start of execution, so unwind
will stop at this frame. run-backtrace-*.sh from elfutils testsuite will
fail without this patch.

* sysdeps/csky/abiv2/start.S: Mark lr as undefined.
* sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
* sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
ChangeLog
sysdeps/csky/abiv2/start.S
sysdeps/unix/sysv/linux/csky/abiv2/clone.S
sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S