aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/arm/string/strncmp.S
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-3/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Annotate arm userspace assembler sources stating their tolerance toKonstantin Belousov2015-09-291-0/+2
| | | | | | | | | | the non-executable stack. Reviewed by: andrew Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=288373
* Add the needed if-then instructions to build as Thumb-2.Andrew Turner2015-05-311-0/+3
| | | | Notes: svn path=/head/; revision=283831
* In ARM asm code, ensure that every ENTRY(foo) has a matching END(foo).Ian Lepore2014-08-311-0/+1
| | | | | | | | | | | | The EABI unwind info requires a .fnend for every .fnstart, and newer binutils will complain about seeing two .fnstart in a row. This change allows newer tools to compile our code. Reported by: bapt Reviewed by: imp Notes: svn path=/head/; revision=270882
* - Eliminate extra subcs instruction. I have not noticed before that weStanislav Sedov2009-06-211-2/+1
| | | | | | | | always perform substraction now, so no instruction could be rordered to eliminate the conditional substraction. Notes: svn path=/head/; revision=194585
* - Fix strncmp on arm. Return 0 as result without performing theStanislav Sedov2009-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 Notes: svn path=/head/; revision=194583
* revert r191633; this breaks at91 & xscale (likely all arm)Sam Leffler2009-05-061-4/+4
| | | | Notes: svn path=/head/; revision=191836
* Change the test at the beginning of strncmp(), from being if (len - 1) < 0Olivier Houchard2009-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> Notes: svn path=/head/; revision=191633
* Use the RET macro.Olivier Houchard2004-11-091-1/+1
| | | | | | | | For setjmp() and longjmp(), put the signal mask where it's supposed to be, instead of in the space reserved for fp regs. Notes: svn path=/head/; revision=137464
* Import the FreeBSD/arm libc bits.Olivier Houchard2004-05-141-0/+51
Obtained from: NetBSD Notes: svn path=/head/; revision=129202