diff options
Diffstat (limited to 'sysdeps/i386/strspn.S')
-rw-r--r-- | sysdeps/i386/strspn.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sysdeps/i386/strspn.S b/sysdeps/i386/strspn.S index 9e95f23ab5..1865e49202 100644 --- a/sysdeps/i386/strspn.S +++ b/sysdeps/i386/strspn.S @@ -22,15 +22,13 @@ #include <sysdep.h> #include "asm-syntax.h" -#include "bp-sym.h" -#include "bp-asm.h" -#define PARMS LINKAGE /* no space for saved regs */ +#define PARMS 4 /* no space for saved regs */ #define STR PARMS -#define SKIP STR+PTR_SIZE +#define SKIP STR+4 .text -ENTRY (BP_SYM (strspn)) +ENTRY (strspn) movl STR(%esp), %edx movl SKIP(%esp), %eax @@ -238,5 +236,5 @@ L(4): addl $256, %esp /* remove stopset */ characters, so compute distance to first non-valid character */ ret -END (BP_SYM (strspn)) +END (strspn) libc_hidden_builtin_def (strspn) |