Page MenuHomeFreeBSD

D22661.diff
No OneTemporary

D22661.diff

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

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)

Event Timeline