diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-07-27 06:55:04 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-07-27 06:55:04 -0700 |
commit | 009a69f0bcce04d3743c9b59246e6885dbd2b100 (patch) | |
tree | 422737670c79d4791b0f12e441d9a7b081481744 /sysdeps | |
parent | 16d2ea4c821502948d193a152c8b151f5497a0d3 (diff) | |
download | glibc-009a69f0bcce04d3743c9b59246e6885dbd2b100.zip glibc-009a69f0bcce04d3743c9b59246e6885dbd2b100.tar.gz glibc-009a69f0bcce04d3743c9b59246e6885dbd2b100.tar.bz2 |
No need for special strcmp for rtld.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/rtld-strcmp.S | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sysdeps/x86_64/rtld-strcmp.S b/sysdeps/x86_64/rtld-strcmp.S deleted file mode 100644 index a25535c..0000000 --- a/sysdeps/x86_64/rtld-strcmp.S +++ /dev/null @@ -1,28 +0,0 @@ -#include <sysdep.h> -#include "asm-syntax.h" -#include "bp-sym.h" -#include "bp-asm.h" - -#ifndef LABEL -#define LABEL(l) L(l) -#endif - - .text -ENTRY (BP_SYM (STRCMP)) -/* Simple version since we can't use SSE registers in ld.so. */ -L(oop): movb (%rdi), %al - cmpb (%rsi), %al - jne L(neq) - incq %rdi - incq %rsi - testb %al, %al - jnz L(oop) - - xorl %eax, %eax - ret - -L(neq): movl $1, %eax - movl $-1, %ecx - cmovbl %ecx, %eax - ret -END (BP_SYM (STRCMP)) |