Page MenuHomeFreeBSD

Handle the DT_MIPS_RLD_MAP_REL dynamic tag in RTLD
ClosedPublic

Authored by arichardson on Nov 6 2018, 12:08 PM.
Tags
None
Referenced Files
F176548541: D17867.id50122.diff
Mon, Oct 19, 6:20 PM
F176539501: D17867.id50068.diff
Mon, Oct 19, 4:21 PM
Unknown Object (File)
Sat, Oct 17, 6:21 PM
Unknown Object (File)
Tue, Oct 6, 1:41 AM
Unknown Object (File)
Mon, Sep 21, 11:58 PM
Unknown Object (File)
Mon, Sep 21, 2:03 PM
Unknown Object (File)
Sun, Sep 20, 2:41 PM
Unknown Object (File)
Sep 19 2026, 10:19 PM
Subscribers

Details

Summary

This dynamic tag contains the location of the .rld_map section relative to
the location of the dynamic tag. For PIE MIPS binaries DT_MIPS_RLD_MAP can
not be used since it contains an absolute address. Without this change
GDB can not find the function program counters in other libraries and once
I apply this change I can successfully run info sharedlibraries again.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable