projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wrong result for putc variants due to operator precedence
[musl]
/
arch
/
aarch64
/
reloc.h
diff --git
a/arch/aarch64/reloc.h
b/arch/aarch64/reloc.h
index
1b0402b
..
40cf0b2
100644
(file)
--- a/
arch/aarch64/reloc.h
+++ b/
arch/aarch64/reloc.h
@@
-10,7
+10,7
@@
#define NO_LEGACY_INITFINI
#define NO_LEGACY_INITFINI
-#define TPOFF_K
16
+#define TPOFF_K
0
#define REL_SYMBOLIC R_AARCH64_ABS64
#define REL_GOT R_AARCH64_GLOB_DAT
#define REL_SYMBOLIC R_AARCH64_ABS64
#define REL_GOT R_AARCH64_GLOB_DAT
@@
-23,4
+23,4
@@
#define REL_TLSDESC R_AARCH64_TLSDESC
#define CRTJMP(pc,sp) __asm__ __volatile__( \
#define REL_TLSDESC R_AARCH64_TLSDESC
#define CRTJMP(pc,sp) __asm__ __volatile__( \
- "mov sp,%1 ; b
x
%0" : : "r"(pc), "r"(sp) : "memory" )
+ "mov sp,%1 ; b
r
%0" : : "r"(pc), "r"(sp) : "memory" )