summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/sparc64/string/ffs.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Wow, it cannot even be in .data...deraadt2018-01-181-2/+1
|
* Sorry, the PIC macros cannot reach to .rodata....deraadt2018-01-181-2/+2
|
* Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasguenther2018-01-181-2/+4
| | | | | | | 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@
* 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@
* Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure ccpascal2012-08-221-2/+2
| | | | | | | invocations. This allows us to use the compiler builtin define __PIC__ to check for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot. ok matthew@, conceptually ok kurt@
* add some missing $, ok djm@ 'That looks fine to me' millert@jsg2004-10-011-0/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-5/+1
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* ffs from sparc and strlen from NetBSD.art2001-08-291-0/+105
(Don't ask me why our makefiles wouldn't accept using strlen.c)