lib/csu: Add ifunc support for statically linked programs.
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 4 Nov 2020 10:31:21 +0000 (10:31 +0000)
committerzrj <rimvydas.jasinskas@gmail.com>
Wed, 4 Nov 2020 23:01:58 +0000 (01:01 +0200)
commit9189eb5eb09dde1734a2d828c3b5f97cd105fd46
treed3092540ae5a934c516e968770fc629ca07de015
parent145e5c8ae87d66e1d7600e41ab3e394b27372e6c
lib/csu: Add ifunc support for statically linked programs.

 This assumes that both _init_tls() and _rtld_call_init() paths in libc
 will not contain ifunc calls.  For now should be enough since there was
 no ifunc support previously.

Derived-from: NetBSD crt0-common.c implementation
lib/csu/x86_64/crt1.c