]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restore the binary compatibility for link_map l_addr.
authorkib <kib@FreeBSD.org>
Thu, 21 May 2020 22:24:23 +0000 (22:24 +0000)
committerkib <kib@FreeBSD.org>
Thu, 21 May 2020 22:24:23 +0000 (22:24 +0000)
commitbe54228d2da8b56ed69818628e9a59b59d2f2dda
tree3157709def91a36554b53c9e0dcc29a742579887
parent1dc7f19b3765056b982fab3f438826b3f19b1883
Restore the binary compatibility for link_map l_addr.

Keep link_map l_addr binary layout compatible, rename l_addr to l_base
where rtld returns map base.  Provide relocbase in newly added l_addr.

This effectively reverts the patch to the initial version of D24918.

Reported by: antoine (portmgr)
Reviewed by: jhb, markj
Tested by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D24946
cddl/contrib/opensolaris/lib/libdtrace/common/drti.c
lib/libc/gen/dlinfo.3
libexec/rtld-elf/rtld.c
sys/sys/link_elf.h