HomeFreeBSD

rtld: remove hand rolled memset and bzero

Description

rtld: remove hand rolled memset and bzero

They were introduced to take care of ifunc, but right now no architecture
provides ifunc'ed variants. Since rtld uses memset extensively this results in
a pessmization. Should someone want to use ifunc here they should provide a
mandatory symbol (e.g., rtld_memset).

See the review for profiling data.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D23176

Details

Committed
mjgJan 15 2020, 1:30 AM
Reviewer
kib
Differential Revision
D23176: rtld: remove hand rolled memset and bzero
Parents
rS356740: bsdinstall: Use TMPDIR if set
Branches
Unknown
Tags
Unknown