Relocate the AT_SYSINFO_EHDR to match the link_map->l_addr
authorJan Blunck <jblunck@suse.de>
Fri, 7 Nov 2008 16:25:39 +0000 (17:25 +0100)
committerJan Blunck <jblunck@suse.de>
Fri, 7 Nov 2008 16:25:39 +0000 (17:25 +0100)
commit687a5077a9ec1adef7228e7c755f5ffd214f7c00
treec783ff6015c6455204436f5d64233b9f45770d37
parent2bec2bb159daf2d323b38fd1e0ada8eed92a5beb
Relocate the AT_SYSINFO_EHDR to match the link_map->l_addr

The runtime linker somehow relocates the AT_SYSINFO_EHDR address and fills
the relocated values into the link map. Therefore the address in the link
map is wrong (not mapped) and you couldn't even identify the vDSO in it.

Signed-off-by: Jan Blunck <jblunck@suse.de>
src/pbuildid.c