]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Provide naive but self-contained implementations of memset(3) and
authorkib <kib@FreeBSD.org>
Mon, 3 Dec 2018 19:55:55 +0000 (19:55 +0000)
committerkib <kib@FreeBSD.org>
Mon, 3 Dec 2018 19:55:55 +0000 (19:55 +0000)
commitf76ddef342e3df6f18516fb04aa978718c8ec708
tree372ea1fe82c3d7d342567cf4505767689c19ec19
parent046dbd9d18cdfa9f3f2651420c147e30ebe72625
Provide naive but self-contained implementations of memset(3) and
bzero(3) for rtld.

This again reduces rtld dependency on libc, and in future, avoid ifunc
relocations when the functions are converted to ifuncs in libc.

Reported by: mjg
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D18400
libexec/rtld-elf/rtld.c