diff options
Diffstat (limited to 'sysdeps/i386/i486/strlen.S')
-rw-r--r-- | sysdeps/i386/i486/strlen.S | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/i386/i486/strlen.S b/sysdeps/i386/i486/strlen.S index 743918044e..a783c6fe5c 100644 --- a/sysdeps/i386/i486/strlen.S +++ b/sysdeps/i386/i486/strlen.S @@ -28,10 +28,8 @@ .text ENTRY (BP_SYM (strlen)) - ENTER movl STR(%esp), %ecx - CHECK_BOUNDS_LOW (%ecx, STR(%esp)) movl %ecx, %eax /* duplicate it */ andl $3, %ecx /* mask alignment bits */ @@ -129,10 +127,8 @@ L(3): testb %cl, %cl /* is first byte NUL? */ jz L(2) /* yes => return pointer */ incl %eax /* increment pointer */ -L(2): CHECK_BOUNDS_HIGH (%eax, STR(%esp), jb) - subl STR(%esp), %eax /* compute difference to string start */ +L(2): subl STR(%esp), %eax /* compute difference to string start */ - LEAVE ret END (BP_SYM (strlen)) libc_hidden_builtin_def (strlen) |