summaryrefslogtreecommitdiffstats
path: root/sys/sun4v
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-10-18 12:57:48 +0000
committerkib <kib@FreeBSD.org>2009-10-18 12:57:48 +0000
commit2eb5677d22f46ebdb90a9deb2ca9aedd32e0eadd (patch)
treee29341de244b43883a2110f347e11b59715f73f5 /sys/sun4v
parent04ed7ad878f2337842722490833d752a981f88e6 (diff)
downloadFreeBSD-src-2eb5677d22f46ebdb90a9deb2ca9aedd32e0eadd.zip
FreeBSD-src-2eb5677d22f46ebdb90a9deb2ca9aedd32e0eadd.tar.gz
If ET_DYN binary has non-zero base address for some reason, honour it
and do not relocate the binary to ET_DYN_LOAD_ADDR. This allows for the binary author to influence address map of the process. In particular, when the binary is actually an interpeter, this allows to have almost usual process address map. Communicate the relocation bias of the mapping for interpeter-less ET_DYN binary, that is interperter itself, in AT_BASE aux entry. This way, rtld is able to find its dynamic structure and relocate itself. Note that mapbase in the rtld is still wrong and requires further fixing. Reported and tested by: rwatson Discussed with: kan MFC after: 3 days
Diffstat (limited to 'sys/sun4v')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud