summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/i386/string/ffs.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasguenther2018-01-181-2/+3
| | | | | | | dance, mark it protected. This works better for both gcc and clang: gcc blocks overriding of internal calls, while clang permits inlining again. ok otto@
* clang doesn't propagate attributes like "asm labels" and "visibility(hidden)"guenther2017-11-291-2/+2
| | | | | | | | | 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@
* Use 0xcc trapsleds instead of default/nop/0xcc in BTC alignmentsderaadt2017-08-191-2/+2
|
* Add framework for resolving (pun intended) libc namespace issues, usingguenther2015-08-311-2/+3
| | | | | | | | | | | | wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@
* zap rcsid, tested there. okay deraadt@espie2005-08-071-5/+1
|
* Fix RCS idstholo1996-08-191-1/+2
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+20