diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-15 15:49:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-15 15:49:26 +0000 |
commit | f8adc70c3f27250d5768ff922c0ac39f0e77c058 (patch) | |
tree | 8ab82a13daaf342b64db23292efe40b6bffd08ca /sysdeps/i386/strrchr.S | |
parent | 64166d98349c01ccaaa848a30b12ae0d83de9bb8 (diff) | |
download | glibc-f8adc70c3f27250d5768ff922c0ac39f0e77c058.tar.gz glibc-f8adc70c3f27250d5768ff922c0ac39f0e77c058.tar.xz glibc-f8adc70c3f27250d5768ff922c0ac39f0e77c058.zip |
Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/generic/strrchr.c: Deansideclized. * elf/Makefile (ldd): Depend on Makefile. Find ld.so in $(slibdir) instead of $(libdir). * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3, %esi'; gas misassembles the latter into `testb $3, %dh'. * mach/Machrules (%.udeps rule): Do $(make-target-directory) first. Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com> * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using strpbrk. Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com> * time/Makefile (routines): Add strptime. * time/time.h: Add prototype for strptime. * time/strptime.c: New file. Implementation according to XPG4.
Diffstat (limited to 'sysdeps/i386/strrchr.S')
-rw-r--r-- | sysdeps/i386/strrchr.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/strrchr.S b/sysdeps/i386/strrchr.S index 468a940d74..26d6a22d6b 100644 --- a/sysdeps/i386/strrchr.S +++ b/sysdeps/i386/strrchr.S @@ -58,7 +58,7 @@ ENTRY (strrchr) implementation (this is because all processor inherant boundaries are multiples of 4. */ - testb $3, %esi /* correctly aligned ? */ + testl $3, %esi /* correctly aligned ? */ jz L19 /* yes => begin loop */ movb (%esi), %dl /* load byte in question (we need it twice) */ cmpb %dl, %cl /* compare byte */ @@ -68,7 +68,7 @@ L11: orb %dl, %dl /* is NUL? */ jz L2 /* yes => return NULL */ incl %esi /* increment pointer */ - testb $3, %esi /* correctly aligned ? */ + testl $3, %esi /* correctly aligned ? */ jz L19 /* yes => begin loop */ movb (%esi), %dl /* load byte in question (we need it twice) */ cmpb %dl, %cl /* compare byte */ @@ -78,7 +78,7 @@ L12: orb %dl, %dl /* is NUL? */ jz L2 /* yes => return NULL */ incl %esi /* increment pointer */ - testb $3, %esi /* correctly aligned ? */ + testl $3, %esi /* correctly aligned ? */ jz L19 /* yes => begin loop */ movb (%esi), %dl /* load byte in question (we need it twice) */ cmpb %dl, %cl /* compare byte */ |