* sysdeps/generic/bp-checks.h: Use unbounded __memchr
authorGreg McGary <greg@mcgary.org>
Mon, 17 Jul 2000 22:36:16 +0000 (22:36 +0000)
committerGreg McGary <greg@mcgary.org>
Mon, 17 Jul 2000 22:36:16 +0000 (22:36 +0000)
commit23e6128c4e01c989025f64d56809ce3c51226c82
tree895e328d71b18aca8fac43aa035138169668ac83
parent84b5ff5c97132de45106fcb0f14d83497db8c228
* sysdeps/generic/bp-checks.h: Use unbounded __memchr
rather than non-existent __ubp_memchr.
(CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
(_CHECK_STRING, _CHECK_N): New macros.
(CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
(CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
* sysdeps/alpha/memchr.S: Change strong name to "__memchr".
Add weak alias "memchr".
* sysdeps/generic/memchr.c: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/ia64/memchr.S: Likewise.
* sysdeps/m68k/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/vax/memchr.s: Likewise.
sysdeps/alpha/memchr.S
sysdeps/m68k/memchr.S
sysdeps/vax/memchr.s