Page MenuHomeFreeBSD

D17867.id50068.diff
No OneTemporary

D17867.id50068.diff

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

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)

Event Timeline