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
F153328507: D17867.id.diff
Mon, Apr 20, 12:30 PM
Unknown Object (File)
Sun, Apr 19, 3:42 PM
Unknown Object (File)
Sun, Apr 19, 11:34 AM
Unknown Object (File)
Thu, Apr 16, 9:16 PM
Unknown Object (File)
Thu, Apr 16, 9:12 PM
Unknown Object (File)
Wed, Apr 15, 7:51 AM
Unknown Object (File)
Wed, Apr 1, 5:30 AM
Unknown Object (File)
Mon, Mar 30, 5:06 AM
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