diff options
author | fanquake <fanquake@gmail.com> | 2019-12-06 15:34:39 -0500 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2019-12-13 09:33:20 -0500 |
commit | c78b123982d59fe2d633659f23d6893de627f3f6 (patch) | |
tree | 1dde3a95fe7205e43db726a675b90ffddc21cfed /CONTRIBUTING.md | |
parent | 988fe5b1adc0cb551dfacd7d3eedf4bd7edc918a (diff) |
build: add -bind_at_load to hardened LDFLAGS
This performs the same function as -Wl,-z,now, except for ld on macOS.
You can check the binaries using otool -l, looking for the
LC_DYLD_INFO_ONLY section. lazy_bind_off and lazy_bind_size should both
be 0.
man ld:
-bind_at_load
Sets a bit in the mach header of the resulting binary which tells dyld
to bind all symbols when the binary is loaded, rather than lazily.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions