diff options
author | Roland McGrath <roland@gnu.org> | 1995-10-30 16:40:52 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-10-30 16:40:52 +0000 |
commit | 3e2ee7271dff697194c7761ca0c5836de486b36f (patch) | |
tree | 6da184ffccbf01724c58318afd82310efff9752e /sysdeps/i386/i586/strchr.S | |
parent | f094496c12e93dca23d32031814f3b28e8b9546c (diff) | |
download | glibc-3e2ee7271dff697194c7761ca0c5836de486b36f.tar.gz glibc-3e2ee7271dff697194c7761ca0c5836de486b36f.tar.xz glibc-3e2ee7271dff697194c7761ca0c5836de486b36f.zip |
Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
* sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use simulation of system call using select. * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation. * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER. * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter name usage (new->act, old->oact). Correct asm statement because of gcc strangeness. * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb. * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They conflict with the ones in stdio.h. * string/tester.c: %Z is no complete format. Change to %Zd. * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
Diffstat (limited to 'sysdeps/i386/i586/strchr.S')
-rw-r--r-- | sysdeps/i386/i586/strchr.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/i586/strchr.S b/sysdeps/i386/i586/strchr.S index 982c80ec9a..30de6b069d 100644 --- a/sysdeps/i386/i586/strchr.S +++ b/sysdeps/i386/i586/strchr.S @@ -74,7 +74,7 @@ ENTRY (strchr) je L2 /* aligned => return pointer */ - cmp $0, %cl /* is byte NUL? */ + cmpb $0, %cl /* is byte NUL? */ je L3 /* yes => return NULL */ incl %eax /* increment pointer */ @@ -87,7 +87,7 @@ ENTRY (strchr) je L2 /* aligned => return pointer */ - cmp $0, %cl /* is byte NUL? */ + cmpb $0, %cl /* is byte NUL? */ je L3 /* yes => return NULL */ incl %eax /* increment pointer */ @@ -100,7 +100,7 @@ ENTRY (strchr) je L2 /* aligned => return pointer */ - cmp $0, %cl /* is byte NUL? */ + cmpb $0, %cl /* is byte NUL? */ je L3 /* yes => return NULL */ incl %eax /* increment pointer */ |