Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103263472
D22661.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
464 B
Referenced Files
None
Subscribers
None
D22661.diff
View Options
Index: head/libexec/rtld-elf/riscv/reloc.c
===================================================================
--- head/libexec/rtld-elf/riscv/reloc.c
+++ head/libexec/rtld-elf/riscv/reloc.c
@@ -354,7 +354,7 @@
}
*where = (def->st_value + rela->r_addend +
- defobj->tlsoffset - TLS_TP_OFFSET);
+ defobj->tlsoffset - TLS_TP_OFFSET - TLS_TCB_SIZE);
break;
case R_RISCV_RELATIVE:
*where = (Elf_Addr)(obj->relocbase + rela->r_addend);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 7:26 PM (18 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14808236
Default Alt Text
D22661.diff (464 B)
Attached To
Mode
D22661: Correct the offset of static TLS variables for Initial-Exec.
Attached
Detach File
Event Timeline
Log In to Comment