From 2366713d874342c94f9362b0d6b2461e1c68dbc3 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 21 Feb 2013 22:21:52 +0000 Subject: Remove remaining bounded-pointers support from i386 .S files. --- sysdeps/i386/stpcpy.S | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'sysdeps/i386/stpcpy.S') diff --git a/sysdeps/i386/stpcpy.S b/sysdeps/i386/stpcpy.S index c294edc4a6..3c7562ed4e 100644 --- a/sysdeps/i386/stpcpy.S +++ b/sysdeps/i386/stpcpy.S @@ -23,16 +23,14 @@ #include #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 RTN PARMS -#define DEST RTN+RTN_SIZE -#define SRC DEST+PTR_SIZE +#define DEST RTN +#define SRC DEST+4 .text -ENTRY (BP_SYM (__stpcpy)) +ENTRY (__stpcpy) movl DEST(%esp), %eax movl SRC(%esp), %ecx @@ -82,9 +80,9 @@ L(4): incl %eax L(3): incl %eax L(2): - RET_PTR -END (BP_SYM (__stpcpy)) + ret +END (__stpcpy) -weak_alias (BP_SYM (__stpcpy), BP_SYM (stpcpy)) +weak_alias (__stpcpy, stpcpy) libc_hidden_def (__stpcpy) libc_hidden_builtin_def (stpcpy) -- cgit v1.2.1