clean up internal dynamic linker functions enumerating phdrs
commit8769196ffb20569fb97fce9716b3a21fada3f02a
authorTimo Teräs <timo.teras@iki.fi>
Tue, 25 Mar 2014 18:59:50 +0000 (25 20:59 +0200)
committerRich Felker <dalias@aerifal.cx>
Tue, 25 Mar 2014 20:03:53 +0000 (25 16:03 -0400)
tree7b784c39092788a639f3d2d2e0536c2b8dd9df2f
parente13a2b8953efabd38edfb7637fda08638454c001
clean up internal dynamic linker functions enumerating phdrs

record phentsize in struct dso, so the phdrs can be easily
enumerated via it. simplify all functions enumerating phdrs
to require only struct dso. also merge find_map_range and
find_dso to kernel_mapped_dso function that does both tasks
during single phdr enumeration.
src/ldso/dynlink.c