Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162753906
D31069.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
851 B
Referenced Files
None
Subscribers
None
D31069.diff
View Options
diff --git a/libexec/rtld-elf/aarch64/reloc.c b/libexec/rtld-elf/aarch64/reloc.c
--- a/libexec/rtld-elf/aarch64/reloc.c
+++ b/libexec/rtld-elf/aarch64/reloc.c
@@ -479,25 +479,8 @@
return (-1);
}
}
- /* Test weak undefined thread variable */
- if (def->st_shndx != SHN_UNDEF) {
- *where = def->st_value + rela->r_addend +
- defobj->tlsoffset;
- } else {
- /*
- * XXX We should relocate undefined thread
- * weak variable address to NULL, but how?
- * Can we return error in this situation?
- */
- rtld_printf("%s: Unable to relocate undefined "
- "weak TLS variable\n", obj->path);
-#if 0
- return (-1);
-#else
- *where = def->st_value + rela->r_addend +
- defobj->tlsoffset;
-#endif
- }
+ *where = def->st_value + rela->r_addend +
+ defobj->tlsoffset;
break;
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 17, 12:45 PM (1 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35167393
Default Alt Text
D31069.diff (851 B)
Attached To
Mode
D31069: rtld-elf/aarch64: Avoid checks for UND symbols when processing TPREL64
Attached
Detach File
Event Timeline
Log In to Comment