diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-02-02 12:15:43 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-02-02 12:15:43 -0500 |
commit | b3ae7beabb9f0c219bb8a8b63567a01c6530c1ac (patch) | |
tree | 53f3046e0fc492818b63c671b399c56c9e6afbd8 /src/stdio/perror.c | |
parent | 6f03b61b46d238d480f5b7730ba906e172066e59 (diff) | |
download | musl-b3ae7beabb9f0c219bb8a8b63567a01c6530c1ac.tar.gz |
adjust dladdr dli_fbase definition to match other implementations
the Linux and FreeBSD man pages for dladdr document dli_fbase as the
"base address" of the library/module found. normally (e.g. AT_BASE)
the term "base" is used to denote the base address relative to which
p_vaddr addresses are interpreted; however in the case of dladdr's
Dl_info structure, existing implementations define it as the lowest
address of the mapping, which makes sense in the context of
determining which module's memory range the input address falls
within.
since this is a nonstandard interface provided to mimic one provided
by other implementations, adjust it to match their behavior.
Diffstat (limited to 'src/stdio/perror.c')
0 files changed, 0 insertions, 0 deletions