Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165133472
D31069.id91827.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
873 B
Referenced Files
None
Subscribers
None
D31069.id91827.diff
View Options
Index: libexec/rtld-elf/aarch64/reloc.c
===================================================================
--- libexec/rtld-elf/aarch64/reloc.c
+++ 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, Aug 7, 8:00 AM (1 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36154507
Default Alt Text
D31069.id91827.diff (873 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