projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for thread scheduling (POSIX TPS option)
[musl]
/
arch
/
arm
/
reloc.h
diff --git
a/arch/arm/reloc.h
b/arch/arm/reloc.h
index
c37af07
..
b41314d
100644
(file)
--- a/
arch/arm/reloc.h
+++ b/
arch/arm/reloc.h
@@
-34,8
+34,8
@@
static inline void do_single_reloc(
break;
case R_ARM_TLS_TPOFF32:
*reloc_addr += def.sym
- ? def.sym->st_value
- def.dso->tls_offset
- :
0 - self->tls_offset
;
+ ? def.sym->st_value
+ def.dso->tls_offset + 8
+ :
self->tls_offset + 8
;
break;
}
}