Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142265442
D50563.id156140.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
861 B
Referenced Files
None
Subscribers
None
D50563.id156140.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D50563: rtld-elf/riscv: Don't allocate static TLS for dynamic TLS
Attached
Detach File
Event Timeline
Log In to Comment