Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166782050
D17867.id50068.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
605 B
Referenced Files
None
Subscribers
None
D17867.id50068.diff
View Options
Index: libexec/rtld-elf/rtld.c
===================================================================
--- libexec/rtld-elf/rtld.c
+++ libexec/rtld-elf/rtld.c
@@ -1264,6 +1264,13 @@
*((Elf_Addr *)(dynp->d_un.d_ptr)) = (Elf_Addr) &r_debug;
break;
+ case DT_MIPS_RLD_MAP_REL:
+ // The MIPS_RLD_MAP_REL tag stores the offset to the .rld_map
+ // section relative to the address of the tag itself.
+ *((Elf_Addr *)(__DECONST(char*, dynp) + dynp->d_un.d_val)) =
+ (Elf_Addr) &r_debug;
+ break;
+
case DT_MIPS_PLTGOT:
obj->mips_pltgot = (Elf_Addr *)(obj->relocbase +
dynp->d_un.d_ptr);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 17, 1:58 PM (4 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36857348
Default Alt Text
D17867.id50068.diff (605 B)
Attached To
Mode
D17867: Handle the DT_MIPS_RLD_MAP_REL dynamic tag in RTLD
Attached
Detach File
Event Timeline
Log In to Comment