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
Unknown Object (File)
Sun, Aug 16, 1:58 PM
Unknown Object (File)
Sun, Aug 16, 1:57 PM
Unknown Object (File)
Tue, Aug 11, 12:05 AM
Unknown Object (File)
Mon, Aug 10, 2:10 PM
Unknown Object (File)
Sun, Aug 9, 8:13 PM
Unknown Object (File)
Sun, Aug 9, 3:47 AM
Unknown Object (File)
Sun, Aug 9, 3:22 AM
Unknown Object (File)
Sun, Aug 9, 1:10 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20657
Build 20072: arc lint + arc unit