Use the first element of GOT for ld.so addresses
commit5f30cfec00f64edfc0ad932bf7065de13966b69d
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 2 Sep 2012 12:22:24 +0000 (2 05:22 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 2 Sep 2012 12:22:24 +0000 (2 05:22 -0700)
tree0aa65cb7c8fbdd1ba12dabe563353415f01d682b
parent0786794f3a9d03040284c7d59d820de6f41e901c
Use the first element of GOT for ld.so addresses

[BZ #14538]
* sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
first element of the GOT.
(elf_machine_load_address): Return the difference between
the runtime address of _DYNAMIC and elf_machine_dynamic ().
ChangeLog
NEWS
sysdeps/x86_64/dl-machine.h