Commit Graph

3 Commits

Author SHA1 Message Date
Rich Felker
feff6b43e5 add missing c++ extern "C" wrapping to link.h 2013-08-02 16:52:17 -04:00
rofl0r
26cf9c3c6b link.h: expose glibc/svr4 dynlinker debugging glue
this is already implemented in the dynliker (see struct debug),
but was not exposed.
we need it to do so to make wine happy...
2012-12-19 05:08:13 +01:00
Rich Felker
18c0e02e2b add dl_iterate_phdr interface
patches by Alex Caudill (npx). the dynamic-linked version is almost
identical to the final submitted patch; I just added a couple missing
lines for saving the phdr address when the dynamic linker is invoked
directly to run a program, and removed a couple to avoid introducing
another unnecessary type. the static-linked version is based on npx's
draft. it could use some improvements which are contingent on the
startup code saving some additional information for later use.
2012-10-31 21:27:48 -04:00