aarch64: fix CRTJMP in reloc.h

commit f3ddd17380 broke the build by
using "bx" instead of "br".
This commit is contained in:
Szabolcs Nagy 2015-04-30 18:47:39 +01:00 committed by Rich Felker
parent 85d12e0285
commit 4e50b2e4b5
1 changed files with 1 additions and 1 deletions

View File

@ -23,4 +23,4 @@
#define REL_TLSDESC R_AARCH64_TLSDESC #define REL_TLSDESC R_AARCH64_TLSDESC
#define CRTJMP(pc,sp) __asm__ __volatile__( \ #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" )