about summary refs log tree commit diff
path: root/sysdeps/x86_64/__longjmp.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-22 17:44:18 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-22 17:44:18 +0000
commitc67da0b50e3d20f89d7bb352cd67dcf66d808e50 (patch)
tree7231edceca2789279c33fc16e86748dce81a1092 /sysdeps/x86_64/__longjmp.S
parent0efe424f4f6154ff0c33a87cc05ff59ded6a8521 (diff)
downloadglibc-c67da0b50e3d20f89d7bb352cd67dcf66d808e50.tar.gz
glibc-c67da0b50e3d20f89d7bb352cd67dcf66d808e50.tar.xz
glibc-c67da0b50e3d20f89d7bb352cd67dcf66d808e50.zip
Also protect SP and BP.
Diffstat (limited to 'sysdeps/x86_64/__longjmp.S')
-rw-r--r--sysdeps/x86_64/__longjmp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/__longjmp.S b/sysdeps/x86_64/__longjmp.S
index becfb4f79d..dd797e8a7b 100644
--- a/sysdeps/x86_64/__longjmp.S
+++ b/sysdeps/x86_64/__longjmp.S
@@ -51,6 +51,8 @@ ENTRY(__longjmp)
 	movq (JB_PC*8)(%rdi),%rdx
 	movq (JB_RSP*8)(%rdi),%rsp
 #ifdef PTR_DEMANGLE
+	PTR_DEMANGLE (%rbp)
+	PTR_DEMANGLE (%rsp)
 	PTR_DEMANGLE (%rdx)
 #endif
 	jmpq *%rdx