diff options
author | 2019-05-10 13:29:21 +0000 | |
---|---|---|
committer | 2019-05-10 13:29:21 +0000 | |
commit | c0197e40dd4094880fe205f9c12d3e12e14e7ff3 (patch) | |
tree | 6882480a3d40ae2f97a06566d8fe24fcd28a10f0 /lib/libc/stdlib | |
parent | Add some more edge case tests. (diff) | |
download | wireguard-openbsd-c0197e40dd4094880fe205f9c12d3e12e14e7ff3.tar.xz wireguard-openbsd-c0197e40dd4094880fe205f9c12d3e12e14e7ff3.zip |
ld.so boot cleanup support:
- put functions and data which are only used before calling the executable's
start function into their own page-aligned segments for unmapping
(only done on amd64, arm64, armv7, powerpc, and sparc64 so far)
- pass .init_array and .preinit_array functions an addition argument which
is a callback to get a structure which includes a function that frees
the boot text and data
- sometimes delay doing RELRO processing: for a shared-object marked
DF_1_INITFIRST do it after the object's .init_array, for the executable
do it after the .preinit_array
- improve test-ld.so to link against libpthread and trigger its initialization
late
libc changes to use this will come later
ok kettenis@
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions