about summary refs log tree commit diff
path: root/src/signal/aarch64
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/aarch64')
-rw-r--r--src/signal/aarch64/sigsetjmp.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signal/aarch64/sigsetjmp.s b/src/signal/aarch64/sigsetjmp.s
index 347d0bc0..75910c43 100644
--- a/src/signal/aarch64/sigsetjmp.s
+++ b/src/signal/aarch64/sigsetjmp.s
@@ -6,7 +6,7 @@ sigsetjmp:
 __sigsetjmp:
 	cbz x1,setjmp
 
-	str lr,[x0,#176]
+	str x30,[x0,#176]
 	str x19,[x0,#176+8+8]
 	mov x19,x0
 
@@ -14,7 +14,7 @@ __sigsetjmp:
 
 	mov w1,w0
 	mov x0,x19
-	ldr lr,[x0,#176]
+	ldr x30,[x0,#176]
 	ldr x19,[x0,#176+8+8]
 
 .hidden __sigsetjmp_tail