From 94f4c8237a58eba21ae24e19ea2d5b7321c0c1f6 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 24 Apr 2015 22:08:49 -0400 Subject: [PATCH] fix build regression in aarch64 sigsetjmp at least some assembler versions do not accept the register name lr. use the name x30 instead. --- src/signal/aarch64/sigsetjmp.s | 4 ++-- 1 file 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 -- 2.25.1