summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/alpha/string
AgeCommit message (Collapse)AuthorFilesLines
2018-01-18Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasguenther1-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@
2015-08-31Add framework for resolving (pun intended) libc namespace issues, usingguenther5-15/+15
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@
2015-05-15Make index/rindex weak aliases of strchr/strrchr since they are notmillert1-2/+2
part of the ISO C standard and have also been dropped from POSIX. OK guenther@ kettenis@
2014-11-30restructure libc/string + libc/arch/*/string coperation regardingderaadt4-36/+480
(potentially) MD versions (function dependent, not filename dependent) split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex Bring back amd64 .S versions And the final touch: switch all architectures temporarily to MI memcpy.c, which contains syslog + abort for overlapping copies. A nice harsh undefined behaviour. We will clean the entire userland of the remaining issues in this catagory, then switch to the optimised memcpy which skips the memmove check. I tried to cut this change into pieces, but testing each sub-step on every architecture is too time consuming and mindnumbing. ok miod
2013-06-11bcopy (and family) can check for 0 length, but negative lengths shouldderaadt1-3/+3
proceed through to crash and show the bug. ok miod
2012-09-04remove lint leftovers; ok guenther@okan1-2/+1
2007-05-15fix some lint 'xxx used, but not defined' warnings by properly addingotto1-2/+2
stuff to LSRCS
2005-08-07zap rcsid.espie4-24/+4
okay deraadt@ (tested them all)
2004-10-01add some missing $, ok djm@ 'That looks fine to me' millert@jsg1-0/+1
1999-04-25missing parts from last commitmillert1-2/+2
1996-11-13Bad include directive.etheisen1-3/+3
1996-11-13Merge to NetBSD, added RCSidsniklas6-8/+112
1996-08-19Fix RCS idstholo5-7/+19
Make sure everything uses {SYS,}LIBC_SCCS properly
1996-03-25Add support for building lint(1) librarytholo1-0/+1
1995-10-18initial import of NetBSD treederaadt5-0/+413