make dynamic linker relocate the main program image last, after all libs
authorRich Felker <dalias@aerifal.cx>
Tue, 28 Jun 2011 18:13:51 +0000 (14:13 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 28 Jun 2011 18:13:51 +0000 (14:13 -0400)
commitc7debe13ee3c1ca2039b67bb7e4891365017ac1a
treed096a865e38c28746739ee64ba9e60a0c0ad42c4
parent8d54681f15125e5a26669128cba66cd28fc52e5b
make dynamic linker relocate the main program image last, after all libs

prior to this change, copy relocations for initialized pointer
variables would not reflect the relocated contents of the pointer.
src/ldso/dynlink.c