about summary refs log tree commit diff
path: root/src/ldso/dladdr.c
Commit message (Collapse)AuthorAgeFilesLines
* move static/stub version of dladdr out of dynlink.cRich Felker2016-01-251-4/+5
|
* const-qualify the address argument to dladdrRich Felker2014-01-061-2/+2
| | | | | | | this agrees with implementation practice on glibc and BSD systems, and is the const-correct way to do things; it eliminates warnings from passing pointers to const. the prototype without const came from seemingly erroneous man pages.
* dladdr support for dynamic linker (nonstandard extension)Rich Felker2012-08-261-0/+9
based on patches submitted by boris brezillon. this commit also fixes the issue whereby the main application and libc don't have the address ranges of their mappings stored, which was theoretically a problem for RTLD_NEXT support in dlsym; it didn't actually matter because libc never calls dlsym, and it seemed to be doing the right thing (by chance) for symbols in the main program as well.