Use non-checking TLS relocation in aarch64 asm! sym test.
The checking variant ensures that the offset required is not larger than 12 bits - hence we wouldn't ever need the upper 12 bits.
This commit is contained in:
parent
7807a694c2
commit
af5b146324
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ macro_rules! static_tls_addr {
|
|||
// Add the top 12 bits of the symbol's offset
|
||||
"add {out}, {out}, :tprel_hi12:{sym}",
|
||||
// And the bottom 12 bits
|
||||
"add {out}, {out}, :tprel_lo12:{sym}",
|
||||
"add {out}, {out}, :tprel_lo12_nc:{sym}",
|
||||
out = out(reg) result,
|
||||
sym = sym $s
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue