diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2017-11-29 05:13:58 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2017-11-29 05:13:58 +0000 |
commit | aeccbd44f9c3c13e18a62f78e7d5eec72cec27c2 (patch) | |
tree | 0b8f1ec0ff076aa5eae382b4801ed399cd43d5b5 /etc/rc.conf | |
parent | 91a797ffb7ddec4e824bd9414f45fd9cfa8503c6 (diff) |
clang doesn't propagate attributes like "asm labels" and "visibility(hidden)"
to builtins like mem{set,cpy,move} and __stack_smash_handler. So, when
building with clang, instead mark those as protected visibility to get rid
of the PLT relocations. We can't take the address of them then, but that's
ok: it's a build-time error not a run-time error.
ok kettenis@
Diffstat (limited to 'etc/rc.conf')
0 files changed, 0 insertions, 0 deletions