Browse Source

aarch64: fix CRTJMP in reloc.h

commit f3ddd173806fd5c60b3f034528ca24542aecc5b9 broke the build by
using "bx" instead of "br".
Szabolcs Nagy 10 years ago
parent
commit
4e50b2e4b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/aarch64/reloc.h

+ 1 - 1
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" )