HomeFreeBSD

Handle the DT_MIPS_RLD_MAP_REL dynamic tag in RTLD

Description

Handle the DT_MIPS_RLD_MAP_REL dynamic tag in RTLD

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.

Reviewed By: kib
Differential Revision: https://reviews.freebsd.org/D17867

Details

Provenance
arichardsonAuthored on Nov 7 2018, 3:04 PM
Parents
rG768893cdb528: Add benchmarks for lstat(2) and readlink(2).
Branches
Unknown
Tags
Unknown

Event Timeline