aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2018-09-25 01:22:22 +0200
committerAndreas Schwab <schwab@suse.de>2018-09-26 16:49:30 +0200
commit6ca8284e7a522ce3cdc9fdd2e73795c753890634 (patch)
tree03cc49546983b9ec964331537a71b6a2dbb93223 /sysdeps/powerpc
parent61d8b5feeed36e242a043befe9b11f7f8c294f58 (diff)
downloadglibc-6ca8284e7a522ce3cdc9fdd2e73795c753890634.tar
glibc-6ca8284e7a522ce3cdc9fdd2e73795c753890634.tar.gz
glibc-6ca8284e7a522ce3cdc9fdd2e73795c753890634.tar.bz2
glibc-6ca8284e7a522ce3cdc9fdd2e73795c753890634.zip
Add missing unwind information to ld.so on powerpc32 (bug 23707)
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/powerpc32/dl-start.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc32/dl-start.S b/sysdeps/powerpc/powerpc32/dl-start.S
index 244d87fb6d..243fb8352b 100644
--- a/sysdeps/powerpc/powerpc32/dl-start.S
+++ b/sysdeps/powerpc/powerpc32/dl-start.S
@@ -34,6 +34,9 @@ ENTRY(_start)
_dl_start to save the link register). */
li r4,0
addi r1,r1,-16
+ cfi_adjust_cfa_offset (16)
+/* Mark lr as undefined to stop unwinding. */
+ cfi_undefined (lr)
stw r4,0(r1)
bl _dl_start@local