Page MenuHomeFreeBSD

D50563.id156140.diff
No OneTemporary

D50563.id156140.diff

diff --git a/libexec/rtld-elf/riscv/reloc.c b/libexec/rtld-elf/riscv/reloc.c
--- a/libexec/rtld-elf/riscv/reloc.c
+++ b/libexec/rtld-elf/riscv/reloc.c
@@ -404,23 +404,6 @@
lockstate);
if (def == NULL)
return (-1);
- /*
- * We lazily allocate offsets for static TLS as we
- * see the first relocation that references the
- * TLS block. This allows us to support (small
- * amounts of) static TLS in dynamically loaded
- * modules. If we run out of space, we generate an
- * error.
- */
- if (!defobj->tls_static) {
- if (!allocate_tls_offset(
- __DECONST(Obj_Entry *, defobj))) {
- _rtld_error(
- "%s: No space available for static "
- "Thread Local Storage", obj->path);
- return (-1);
- }
- }
*where += (Elf_Addr)(def->st_value + rela->r_addend
- TLS_DTV_OFFSET);

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 18, 11:21 PM (5 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27722854
Default Alt Text
D50563.id156140.diff (861 B)

Event Timeline