summaryrefslogtreecommitdiffstats
path: root/lib/libc/arm/string
Commit message (Collapse)AuthorAgeFilesLines
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromjoel2010-03-023-21/+0
| | | | | | their software. Obtained from: NetBSD
* - Eliminate extra subcs instruction. I have not noticed before that westas2009-06-211-2/+1
| | | | | always perform substraction now, so no instruction could be rordered to eliminate the conditional substraction.
* - Fix strncmp on arm. Return 0 as result without performing thestas2009-06-211-5/+9
| | | | | | | | main cycle only if the len passed is equal to 0. If end address overflows use last possible address as the end address. Based on: discussion on arm@ MFC after: 1 month
* revert r191633; this breaks at91 & xscale (likely all arm)sam2009-05-061-4/+4
|
* Change the test at the beginning of strncmp(), from being if (len - 1) < 0cognet2009-04-281-4/+4
| | | | | | | | | to if (len == 0). The length is supposed to be unsigned, so len - 1 < 0 won't happen except if len == 0 anyway, and it would return 0 when it shouldn't, if len was > INT_MAX. Spotted out by: Channa <channa kad gmail com>
* MFKernel: do not use __XSCALE__ to detect if clz/pld/ldrd/strd arecognet2007-10-133-9/+9
| | | | | | available, use _ARM_ARCH_5/_ARM_ARCH_5E instead. MFC After: 3 days
* Fix a long line in copyright notice.cognet2005-10-031-1/+2
| | | | Pointed out by: Gavin Atkinson gavin.atkinson ury york ac uk
* Add an asm version of strlen() for arm (how useful).cognet2005-10-032-1/+78
|
* Use the RET macro.cognet2004-11-096-31/+31
| | | | | For setjmp() and longjmp(), put the signal mask where it's supposed to be, instead of in the space reserved for fp regs.
* MFKernel: Implement ffs with clz on Xscale.cognet2004-11-071-0/+6
|
* Always use bx for returning on Xscale.cognet2004-09-231-76/+76
| | | | Obtained from: NetBSD
* Fix the align-to-32-bits code.cognet2004-09-231-2/+2
| | | | Obtained from: NetBSD
* Import the FreeBSD/arm libc bits.cognet2004-05-1412-0/+3363
Obtained from: NetBSD
OpenPOWER on IntegriCloud