summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/amd64/DEFS.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clang doesn't propagate attributes like "asm labels" and "visibility(hidden)"guenther2017-11-291-1/+9
| | | | | | | | | 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@
* Split the non-syscall ASM bits from SYS.h into DEFS.h and use that in theguenther2015-11-141-0/+61
non-syscall .S source ok millert@ miod@