adapt static dl_iterate_phdr not to depend on !defined(SHARED)
authorRich Felker <dalias@aerifal.cx>
Tue, 26 Jan 2016 00:12:41 +0000 (19:12 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 26 Jan 2016 00:12:41 +0000 (19:12 -0500)
commit16f70388d4a876c216cbf1d829782ace41a07634
tree8c945c68b3f831243397f910281a017cfcc11d70
parent4058795d4938ea72a27fb3231ce52c69c7e39637
adapt static dl_iterate_phdr not to depend on !defined(SHARED)

like elsewhere, use a weak alias that the dynamic linker will override
with a more complete version capable of handling shared libraries.
src/ldso/dl_iterate_phdr.c