summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/mips64/string (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@
* Add framework for resolving (pun intended) libc namespace issues, usingguenther2015-08-318-24/+24
| | | | | | | | | | | | 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@
* Make index/rindex weak aliases of strchr/strrchr since they are notmillert2015-05-152-4/+6
| | | | | part of the ISO C standard and have also been dropped from POSIX. OK guenther@ kettenis@
* restructure libc/string + libc/arch/*/string coperation regardingderaadt2014-11-303-11/+15
| | | | | | | | | | | | | | | | (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
* remove lint leftovers; ok guenther@okan2012-09-041-2/+1
|
* More changes to avoid truncating 64 bit pointers to 32 bits and sign-extendingmiod2009-12-117-67/+67
| | | | them; allows userland with stack beyond 2GB to run.
* Use a local numeric label to branch to the start of the function, instead ofmiod2009-11-011-2/+3
| | | | referencing it by name; silences a linker warning; no functional change.
* zap rcsid.espie2005-08-078-40/+8
| | | | okay deraadt@ (tested them all)
* mips64 is now going ABI64 and shared library support!pefo2004-09-098-17/+17
| | | | String functions need some optimization/rewrite to take full advantage.
* remove single 'pefo2004-08-151-2/+2
|
* Move mips to mips64pefo2004-08-119-0/+583