History log of /netbsd-src/common/lib/libc/arch/i386/string/small/strchr.S (Results 1 – 3 of 3)
Revision Date Author Comments
# 00b617c0 22-Sep-2014 khorben <khorben@NetBSD.org>

Look for the character to locate before checking for the NUL character

As documented in PR port-i386/49208, this fixes strchr(s, '\0'), as used by
the FAT first-stage bootloader on x86 (bootxx_msdos

Look for the character to locate before checking for the NUL character

As documented in PR port-i386/49208, this fixes strchr(s, '\0'), as used by
the FAT first-stage bootloader on x86 (bootxx_msdos).
strchr(s, '\0') is otherwise equivalent to strlen(string), which would
probably look nicer in the original file, dosfs.c from libsa.

Confirmed working in qemu and on real hardware.
ok joerg@

XXX pull-up to netbsd-6 and netbsd-7

show more ...


# 2c56941e 22-Mar-2014 jakllsch <jakllsch@NetBSD.org>

For all i386 string assembly functions that don't overlap use END() so
that symbol size information is available.


# bdaa91a3 16-Jun-2011 joerg <joerg@NetBSD.org>

Add support for size optimised versions of the assembler functions in
the small subdirectory. Provide more compact versions of the functions
used by bootxx in x86.