diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-19 21:58:08 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-19 21:58:08 +0000 |
commit | 92945b5261c412eb590b2b34c7ec9a035f0693a1 (patch) | |
tree | 2d09031d37dcb8faab0ba90eb72b61681deecc51 /sysdeps/i386/memcmp.S | |
parent | b65e2ba34b218a58a74123e2d6ba70ab0d4797bf (diff) | |
download | glibc-92945b5261c412eb590b2b34c7ec9a035f0693a1.tar glibc-92945b5261c412eb590b2b34c7ec9a035f0693a1.tar.gz glibc-92945b5261c412eb590b2b34c7ec9a035f0693a1.tar.bz2 glibc-92945b5261c412eb590b2b34c7ec9a035f0693a1.zip |
Remove some bounded-pointers support from i386 .S files.
Diffstat (limited to 'sysdeps/i386/memcmp.S')
-rw-r--r-- | sysdeps/i386/memcmp.S | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/i386/memcmp.S b/sysdeps/i386/memcmp.S index f24ec9383f..1ebbc7aee4 100644 --- a/sysdeps/i386/memcmp.S +++ b/sysdeps/i386/memcmp.S @@ -28,7 +28,6 @@ .text ENTRY (BP_SYM (memcmp)) - ENTER pushl %esi /* Save callee-safe registers. */ cfi_adjust_cfa_offset (4) @@ -40,8 +39,6 @@ ENTRY (BP_SYM (memcmp)) cfi_rel_offset (esi, 0) movl BLK2(%esp), %edi movl LEN(%esp), %ecx - CHECK_BOUNDS_LOW (%esi, BLK1(%esp)) - CHECK_BOUNDS_LOW (%edi, BLK2(%esp)) cld /* Set direction of comparison. */ @@ -64,15 +61,12 @@ ENTRY (BP_SYM (memcmp)) Note that the following operation does not change 0xffffffff. */ orb $1, %al /* Change 0 to 1. */ -L(1): CHECK_BOUNDS_HIGH (%esi, BLK1(%esp), jbe) - CHECK_BOUNDS_HIGH (%edi, BLK2(%esp), jbe) - popl %esi /* Restore registers. */ +L(1): popl %esi /* Restore registers. */ cfi_adjust_cfa_offset (-4) cfi_restore (esi) movl %edx, %edi cfi_restore (edi) - LEAVE ret END (BP_SYM (memcmp)) |