about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-04-30 18:47:39 +0100
committerRich Felker <dalias@aerifal.cx>2015-04-30 16:21:51 -0400
commit4e50b2e4b5c32b804324eb6967a9ca72c9a2b654 (patch)
treeae488eeb85966bbc64bfdbb09ae93646d01e145b
parent85d12e02858545f8942a9c5c9f0eddc2da75edce (diff)
downloadmusl-4e50b2e4b5c32b804324eb6967a9ca72c9a2b654.tar.gz
musl-4e50b2e4b5c32b804324eb6967a9ca72c9a2b654.tar.xz
musl-4e50b2e4b5c32b804324eb6967a9ca72c9a2b654.zip
aarch64: fix CRTJMP in reloc.h
commit f3ddd173806fd5c60b3f034528ca24542aecc5b9 broke the build by
using "bx" instead of "br".
-rw-r--r--arch/aarch64/reloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/aarch64/reloc.h b/arch/aarch64/reloc.h
index 1b0402bc..51b66e23 100644
--- a/arch/aarch64/reloc.h
+++ b/arch/aarch64/reloc.h
@@ -23,4 +23,4 @@
 #define REL_TLSDESC     R_AARCH64_TLSDESC
 
 #define CRTJMP(pc,sp) __asm__ __volatile__( \
-	"mov sp,%1 ; bx %0" : : "r"(pc), "r"(sp) : "memory" )
+	"mov sp,%1 ; br %0" : : "r"(pc), "r"(sp) : "memory" )