projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d1030
)
submitted-start-cfi
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Tue, 4 Sep 2018 19:13:02 +0000
(20:13 +0100)
committer
Samuel Thibault
<sthibault@debian.org>
Tue, 4 Sep 2018 19:13:02 +0000
(20:13 +0100)
2018-05-18 Palmer Dabbelt <palmer@sifive.com>
PR 23125
* sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined so
backtraces can terminate if they reach this point.
Gbp-Pq: Topic riscv64
Gbp-Pq: Name submitted-start-cfi.diff
sysdeps/riscv/start.S
patch
|
blob
|
history
diff --git
a/sysdeps/riscv/start.S
b/sysdeps/riscv/start.S
index 4635ddb5eb8c54156bbe576d05ca45599927cd5f..93a80bc4a760021b7a8065e996758ed2ad9c81bc 100644
(file)
--- a/
sysdeps/riscv/start.S
+++ b/
sysdeps/riscv/start.S
@@
-43,6
+43,8
@@
__libc_start_main wants this in a5. */
ENTRY (ENTRY_POINT)
+ /* Mark ra as undefined in order to stop unwinding here! */
+ cfi_undefined (ra)
call .Lload_gp
mv a5, a0 /* rtld_fini. */
/* main may be in a shared library. */