summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/hcreate.c
diff options
context:
space:
mode:
authorguenther <>2017-11-29 05:13:57 +0000
committerguenther <>2017-11-29 05:13:57 +0000
commitbc8bb57301186279c74b55cd2daec9131d087ef8 (patch)
tree4976229f4c71d61ceb103c7276e63e28e5ef1d31 /src/lib/libc/stdlib/hcreate.c
parentaa9c99e53a08fd5b5178e337b1082d178fb34c07 (diff)
downloadopenbsd-bc8bb57301186279c74b55cd2daec9131d087ef8.tar.gz
openbsd-bc8bb57301186279c74b55cd2daec9131d087ef8.tar.bz2
openbsd-bc8bb57301186279c74b55cd2daec9131d087ef8.zip
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 'src/lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions