Blame SOURCES/glibc-rh1505492-bounded-15.patch

147e83
commit 2366713d874342c94f9362b0d6b2461e1c68dbc3
147e83
Author: Joseph Myers <joseph@codesourcery.com>
147e83
Date:   Thu Feb 21 22:21:52 2013 +0000
147e83
147e83
    Remove remaining bounded-pointers support from i386 .S files.
147e83
147e83
Conflicts:
147e83
	sysdeps/i386/bp-asm.h
147e83
147e83
Copyright header change; file removed manually.
147e83
147e83
diff --git a/sysdeps/i386/add_n.S b/sysdeps/i386/add_n.S
147e83
index df3ea2362c76247a..55e454f2091c67eb 100644
147e83
--- a/sysdeps/i386/add_n.S
147e83
+++ b/sysdeps/i386/add_n.S
147e83
@@ -19,17 +19,15 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+8	/* space for 2 saved regs */
147e83
+#define PARMS	4+8	/* space for 2 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define S2	S1+PTR_SIZE
147e83
-#define SIZE	S2+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define S2	S1+4
147e83
+#define SIZE	S2+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_add_n))
147e83
+ENTRY (__mpn_add_n)
147e83
 
147e83
 	pushl %edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -110,4 +108,4 @@ L(oop):	movl	(%esi),%eax
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_add_n))
147e83
+END (__mpn_add_n)
147e83
diff --git a/sysdeps/i386/addmul_1.S b/sysdeps/i386/addmul_1.S
147e83
index 006c08a92de4e303..286781efdb37d304 100644
147e83
--- a/sysdeps/i386/addmul_1.S
147e83
+++ b/sysdeps/i386/addmul_1.S
147e83
@@ -19,13 +19,11 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16	/* space for 4 saved regs */
147e83
+#define PARMS	4+16	/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define SIZE	S1+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define SIZE	S1+4
147e83
 #define S2LIMB	SIZE+4
147e83
 
147e83
 #define res_ptr edi
147e83
@@ -34,7 +32,7 @@
147e83
 #define s2_limb ebx
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_addmul_1))
147e83
+ENTRY (__mpn_addmul_1)
147e83
 
147e83
 	pushl	%res_ptr
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -85,4 +83,4 @@ L(oop):
147e83
 	cfi_restore (res_ptr)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_addmul_1))
147e83
+END (__mpn_addmul_1)
147e83
diff --git a/sysdeps/i386/bp-asm.h b/sysdeps/i386/bp-asm.h
147e83
deleted file mode 100644
147e83
index 75e1a007cb3eca71..0000000000000000
147e83
--- a/sysdeps/i386/bp-asm.h
147e83
+++ /dev/null
147e83
@@ -1,60 +0,0 @@
147e83
-/* Bounded-pointer definitions for x86 assembler.
147e83
-   Copyright (C) 2000 Free Software Foundation, Inc.
147e83
-   Contributed by Greg McGary <greg@mcgary.org>
147e83
-   This file is part of the GNU C Library.  Its master source is NOT part of
147e83
-   the C library, however.  The master source lives in the GNU MP Library.
147e83
-
147e83
-   The GNU C Library is free software; you can redistribute it and/or
147e83
-   modify it under the terms of the GNU Lesser General Public
147e83
-   License as published by the Free Software Foundation; either
147e83
-   version 2.1 of the License, or (at your option) any later version.
147e83
-
147e83
-   The GNU C Library is distributed in the hope that it will be useful,
147e83
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
147e83
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
147e83
-   Lesser General Public License for more details.
147e83
-
147e83
-   You should have received a copy of the GNU Lesser General Public
147e83
-   License along with the GNU C Library; if not, see
147e83
-   <http://www.gnu.org/licenses/>.  */
147e83
-
147e83
-#ifndef _bp_asm_h_
147e83
-# define _bp_asm_h_ 1
147e83
-
147e83
-# if __ASSEMBLER__
147e83
-
147e83
-#  if __BOUNDED_POINTERS__
147e83
-
147e83
-/* Bounded pointers occupy three words.  */
147e83
-#   define PTR_SIZE 12
147e83
-/* Bounded pointer return values are passed back through a hidden
147e83
-   argument that points to caller-allocate space.  The hidden arg
147e83
-   occupies one word on the stack.  */
147e83
-#   define RTN_SIZE 4
147e83
-/* Although the caller pushes the hidden arg, the callee is
147e83
-   responsible for popping it.  */
147e83
-#   define RET_PTR ret $RTN_SIZE
147e83
-/* Stack space overhead of procedure-call linkage: return address and
147e83
-   frame pointer.  */
147e83
-#   define LINKAGE 8
147e83
-/* Stack offset of return address after calling ENTER.  */
147e83
-#   define PCOFF 4
147e83
-
147e83
-#  else /* !__BOUNDED_POINTERS__ */
147e83
-
147e83
-/* Unbounded pointers occupy one word.  */
147e83
-#   define PTR_SIZE 4
147e83
-/* Unbounded pointer return values are passed back in the register %eax.  */
147e83
-#   define RTN_SIZE 0
147e83
-/* Use simple return instruction for unbounded pointer values.  */
147e83
-#   define RET_PTR ret
147e83
-/* Stack space overhead of procedure-call linkage: return address only.  */
147e83
-#   define LINKAGE 4
147e83
-/* Stack offset of return address after calling ENTER.  */
147e83
-#   define PCOFF 0
147e83
-
147e83
-#  endif /* !__BOUNDED_POINTERS__ */
147e83
-
147e83
-# endif /* __ASSEMBLER__ */
147e83
-
147e83
-#endif /* _bp_asm_h_ */
147e83
diff --git a/sysdeps/i386/bsd-_setjmp.S b/sysdeps/i386/bsd-_setjmp.S
147e83
index fe0224145643ea0b..3a57995fa9811274 100644
147e83
--- a/sysdeps/i386/bsd-_setjmp.S
147e83
+++ b/sysdeps/i386/bsd-_setjmp.S
147e83
@@ -22,15 +22,13 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include <jmpbuf-offsets.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 #include <stap-probe.h>
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define JMPBUF	PARMS
147e83
-#define SIGMSK	JMPBUF+PTR_SIZE
147e83
+#define SIGMSK	JMPBUF+4
147e83
 
147e83
-ENTRY (BP_SYM (_setjmp))
147e83
+ENTRY (_setjmp)
147e83
 
147e83
 	xorl %eax, %eax
147e83
 	movl JMPBUF(%esp), %edx
147e83
@@ -44,7 +42,7 @@ ENTRY (BP_SYM (_setjmp))
147e83
 	PTR_MANGLE (%ecx)
147e83
 #endif
147e83
      	movl %ecx, (JB_SP*4)(%edx)
147e83
-	movl PCOFF(%esp), %ecx	/* Save PC we are returning to now.  */
147e83
+	movl 0(%esp), %ecx	/* Save PC we are returning to now.  */
147e83
 	LIBC_PROBE (setjmp, 3, 4@%edx, -4@$0, 4@%ecx)
147e83
 #ifdef PTR_MANGLE
147e83
 	PTR_MANGLE (%ecx)
147e83
@@ -54,5 +52,5 @@ ENTRY (BP_SYM (_setjmp))
147e83
 
147e83
 	movl %eax, JB_SIZE(%edx) /* No signal mask set.  */
147e83
 	ret
147e83
-END (BP_SYM (_setjmp))
147e83
+END (_setjmp)
147e83
 libc_hidden_def (_setjmp)
147e83
diff --git a/sysdeps/i386/bsd-setjmp.S b/sysdeps/i386/bsd-setjmp.S
147e83
index 25470f3904a8ca73..9f2eb9d99c0807d2 100644
147e83
--- a/sysdeps/i386/bsd-setjmp.S
147e83
+++ b/sysdeps/i386/bsd-setjmp.S
147e83
@@ -22,15 +22,13 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include <jmpbuf-offsets.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 #include <stap-probe.h>
147e83
 
147e83
-#define PARMS  LINKAGE		/* no space for saved regs */
147e83
+#define PARMS  4		/* no space for saved regs */
147e83
 #define JMPBUF PARMS
147e83
-#define SIGMSK JMPBUF+PTR_SIZE
147e83
+#define SIGMSK JMPBUF+4
147e83
 
147e83
-ENTRY (BP_SYM (setjmp))
147e83
+ENTRY (setjmp)
147e83
 	/* Note that we have to use a non-exported symbol in the next
147e83
 	   jump since otherwise gas will emit it as a jump through the
147e83
 	   PLT which is what we cannot use here.  */
147e83
@@ -46,7 +44,7 @@ ENTRY (BP_SYM (setjmp))
147e83
 	PTR_MANGLE (%ecx)
147e83
 #endif
147e83
      	movl %ecx, (JB_SP*4)(%eax)
147e83
-	movl PCOFF(%esp), %ecx	/* Save PC we are returning to now.  */
147e83
+	movl 0(%esp), %ecx	/* Save PC we are returning to now.  */
147e83
 	LIBC_PROBE (setjmp, 3, 4@%eax, -4@$1, 4@%ecx)
147e83
 #ifdef PTR_MANGLE
147e83
 	PTR_MANGLE (%ecx)
147e83
@@ -59,10 +57,10 @@ ENTRY (BP_SYM (setjmp))
147e83
 	cfi_adjust_cfa_offset (4)
147e83
 	pushl 8(%esp)
147e83
 	cfi_adjust_cfa_offset (4)
147e83
-	call BP_SYM (__sigjmp_save)
147e83
+	call __sigjmp_save
147e83
 	popl %ecx
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	popl %edx
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	ret
147e83
-END (BP_SYM (setjmp))
147e83
+END (setjmp)
147e83
diff --git a/sysdeps/i386/fpu/s_frexp.S b/sysdeps/i386/fpu/s_frexp.S
147e83
index 6c5cd8fdfd9f825b..220eb3cb4bdedc0a 100644
147e83
--- a/sysdeps/i386/fpu/s_frexp.S
147e83
+++ b/sysdeps/i386/fpu/s_frexp.S
147e83
@@ -18,8 +18,6 @@
147e83
    <http://www.gnu.org/licenses/>.  */
147e83
 
147e83
 #include <machine/asm.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 	.section .rodata
147e83
 
147e83
@@ -34,13 +32,13 @@ two54:	.byte 0, 0, 0, 0, 0, 0, 0x50, 0x43
147e83
 #define MO(op) op
147e83
 #endif
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define VAL0	PARMS
147e83
 #define VAL1	VAL0+4
147e83
 #define EXPP	VAL1+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__frexp))
147e83
+ENTRY (__frexp)
147e83
 
147e83
 	movl	VAL0(%esp), %ecx
147e83
 	movl	VAL1(%esp), %eax
147e83
@@ -81,5 +79,5 @@ ENTRY (BP_SYM (__frexp))
147e83
 	movl	%ecx, (%eax)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__frexp))
147e83
-weak_alias (BP_SYM (__frexp), BP_SYM (frexp))
147e83
+END (__frexp)
147e83
+weak_alias (__frexp, frexp)
147e83
diff --git a/sysdeps/i386/fpu/s_frexpf.S b/sysdeps/i386/fpu/s_frexpf.S
147e83
index 4fe2181873de7302..1515ec3d5d08fe5e 100644
147e83
--- a/sysdeps/i386/fpu/s_frexpf.S
147e83
+++ b/sysdeps/i386/fpu/s_frexpf.S
147e83
@@ -18,8 +18,6 @@
147e83
    <http://www.gnu.org/licenses/>.  */
147e83
 
147e83
 #include <machine/asm.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 	.section .rodata
147e83
 
147e83
@@ -34,12 +32,12 @@ two25:	.byte 0, 0, 0, 0x4c
147e83
 #define MO(op) op
147e83
 #endif
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define VAL	PARMS
147e83
 #define EXPP	VAL+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__frexpf))
147e83
+ENTRY (__frexpf)
147e83
 
147e83
 	movl	VAL(%esp), %eax
147e83
 	xorl	%ecx, %ecx
147e83
@@ -78,5 +76,5 @@ ENTRY (BP_SYM (__frexpf))
147e83
 	movl	%ecx, (%eax)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__frexpf))
147e83
-weak_alias (BP_SYM (__frexpf), BP_SYM (frexpf))
147e83
+END (__frexpf)
147e83
+weak_alias (__frexpf, frexpf)
147e83
diff --git a/sysdeps/i386/fpu/s_frexpl.S b/sysdeps/i386/fpu/s_frexpl.S
147e83
index 54d5010185792bd9..bd8064ac46104921 100644
147e83
--- a/sysdeps/i386/fpu/s_frexpl.S
147e83
+++ b/sysdeps/i386/fpu/s_frexpl.S
147e83
@@ -18,8 +18,6 @@
147e83
    <http://www.gnu.org/licenses/>.  */
147e83
 
147e83
 #include <machine/asm.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 	.section .rodata
147e83
 
147e83
@@ -34,14 +32,14 @@ two64:	.byte 0, 0, 0, 0, 0, 0, 0xf0, 0x43
147e83
 #define MO(op) op
147e83
 #endif
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define VAL0	PARMS
147e83
 #define VAL1	VAL0+4
147e83
 #define VAL2	VAL1+4
147e83
 #define EXPP	VAL2+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__frexpl))
147e83
+ENTRY (__frexpl)
147e83
 
147e83
 	movl	VAL0(%esp), %ecx
147e83
 	movl	VAL2(%esp), %eax
147e83
@@ -83,5 +81,5 @@ ENTRY (BP_SYM (__frexpl))
147e83
 	movl	%ecx, (%eax)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__frexpl))
147e83
-weak_alias (BP_SYM (__frexpl), BP_SYM (frexpl))
147e83
+END (__frexpl)
147e83
+weak_alias (__frexpl, frexpl)
147e83
diff --git a/sysdeps/i386/fpu/s_remquo.S b/sysdeps/i386/fpu/s_remquo.S
147e83
index e61ff5be7bc826df..341285db30448710 100644
147e83
--- a/sysdeps/i386/fpu/s_remquo.S
147e83
+++ b/sysdeps/i386/fpu/s_remquo.S
147e83
@@ -5,16 +5,14 @@
147e83
  */
147e83
 
147e83
 #include <machine/asm.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define DVDND	PARMS
147e83
 #define DVSOR	DVDND+8
147e83
 #define QUOP	DVSOR+8
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__remquo))
147e83
+ENTRY (__remquo)
147e83
 
147e83
 	fldl	DVSOR(%esp)
147e83
 	fldl	DVDND(%esp)
147e83
@@ -43,5 +41,5 @@ ENTRY (BP_SYM (__remquo))
147e83
 1:	movl	%eax, (%ecx)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__remquo))
147e83
-weak_alias (BP_SYM (__remquo), BP_SYM (remquo))
147e83
+END (__remquo)
147e83
+weak_alias (__remquo, remquo)
147e83
diff --git a/sysdeps/i386/fpu/s_remquof.S b/sysdeps/i386/fpu/s_remquof.S
147e83
index c2b351b859c28e7c..62063f068f59220a 100644
147e83
--- a/sysdeps/i386/fpu/s_remquof.S
147e83
+++ b/sysdeps/i386/fpu/s_remquof.S
147e83
@@ -5,16 +5,14 @@
147e83
  */
147e83
 
147e83
 #include <machine/asm.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define DVDND	PARMS
147e83
 #define DVSOR	DVDND+4
147e83
 #define QUOP	DVSOR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__remquof))
147e83
+ENTRY (__remquof)
147e83
 
147e83
 	flds	DVSOR(%esp)
147e83
 	flds	DVDND(%esp)
147e83
@@ -43,5 +41,5 @@ ENTRY (BP_SYM (__remquof))
147e83
 1:	movl	%eax, (%ecx)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__remquof))
147e83
-weak_alias (BP_SYM (__remquof), BP_SYM (remquof))
147e83
+END (__remquof)
147e83
+weak_alias (__remquof, remquof)
147e83
diff --git a/sysdeps/i386/fpu/s_remquol.S b/sysdeps/i386/fpu/s_remquol.S
147e83
index 2cbe43589609a2b8..f3d84fc7c2c22d73 100644
147e83
--- a/sysdeps/i386/fpu/s_remquol.S
147e83
+++ b/sysdeps/i386/fpu/s_remquol.S
147e83
@@ -5,16 +5,14 @@
147e83
  */
147e83
 
147e83
 #include <machine/asm.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define DVDND	PARMS
147e83
 #define DVSOR	DVDND+12
147e83
 #define QUOP	DVSOR+12
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__remquol))
147e83
+ENTRY (__remquol)
147e83
 
147e83
 	fldt	DVSOR(%esp)
147e83
 	fldt	DVDND(%esp)
147e83
@@ -43,5 +41,5 @@ ENTRY (BP_SYM (__remquol))
147e83
 1:	movl	%eax, (%ecx)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__remquol))
147e83
-weak_alias (BP_SYM (__remquol), BP_SYM (remquol))
147e83
+END (__remquol)
147e83
+weak_alias (__remquol, remquol)
147e83
diff --git a/sysdeps/i386/i486/strcat.S b/sysdeps/i386/i486/strcat.S
147e83
index b3212c8beb948411..d772b108d1c45e2d 100644
147e83
--- a/sysdeps/i386/i486/strcat.S
147e83
+++ b/sysdeps/i386/i486/strcat.S
147e83
@@ -21,16 +21,14 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+4	/* space for 1 saved reg */
147e83
+#define PARMS	4+4	/* space for 1 saved reg */
147e83
 #define RTN	PARMS
147e83
-#define DEST	RTN+RTN_SIZE
147e83
-#define SRC	DEST+PTR_SIZE
147e83
+#define DEST	RTN
147e83
+#define SRC	DEST+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strcat))
147e83
+ENTRY (strcat)
147e83
 
147e83
 	pushl %edi		/* Save callee-safe register.  */
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -257,12 +255,11 @@ L(9):	movb %al, (%ecx,%edx)	/* store first byte of last word */
147e83
 
147e83
 	movb %ah, 3(%ecx,%edx)	/* store fourth byte of last word */
147e83
 
147e83
-L(8):	/* GKM FIXME: check high bounds */
147e83
-	movl DEST(%esp), %eax	/* start address of destination is result */
147e83
+L(8):	movl DEST(%esp), %eax	/* start address of destination is result */
147e83
 	popl %edi		/* restore saved register */
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (strcat))
147e83
+	ret
147e83
+END (strcat)
147e83
 libc_hidden_builtin_def (strcat)
147e83
diff --git a/sysdeps/i386/i486/strlen.S b/sysdeps/i386/i486/strlen.S
147e83
index 76c31098e84a1c93..371e202902603639 100644
147e83
--- a/sysdeps/i386/i486/strlen.S
147e83
+++ b/sysdeps/i386/i486/strlen.S
147e83
@@ -20,14 +20,12 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define STR	PARMS
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strlen))
147e83
+ENTRY (strlen)
147e83
 
147e83
 	movl STR(%esp), %ecx
147e83
 	movl %ecx, %eax		/* duplicate it */
147e83
@@ -130,5 +128,5 @@ L(3):	testb %cl, %cl		/* is first byte NUL? */
147e83
 L(2):	subl STR(%esp), %eax	/* compute difference to string start */
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (strlen))
147e83
+END (strlen)
147e83
 libc_hidden_builtin_def (strlen)
147e83
diff --git a/sysdeps/i386/i586/add_n.S b/sysdeps/i386/i586/add_n.S
147e83
index a2b502d0d21bf9f5..e3f439412f7d4061 100644
147e83
--- a/sysdeps/i386/i586/add_n.S
147e83
+++ b/sysdeps/i386/i586/add_n.S
147e83
@@ -19,17 +19,15 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16		/* space for 4 saved regs */
147e83
+#define PARMS	4+16		/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define S2	S1+PTR_SIZE
147e83
-#define SIZE	S2+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define S2	S1+4
147e83
+#define SIZE	S2+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_add_n))
147e83
+ENTRY (__mpn_add_n)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -142,4 +140,4 @@ L(end2):
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_add_n))
147e83
+END (__mpn_add_n)
147e83
diff --git a/sysdeps/i386/i586/addmul_1.S b/sysdeps/i386/i586/addmul_1.S
147e83
index a9d0b08b5e8072ab..333951f8e5d6d3ec 100644
147e83
--- a/sysdeps/i386/i586/addmul_1.S
147e83
+++ b/sysdeps/i386/i586/addmul_1.S
147e83
@@ -19,13 +19,11 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16	/* space for 4 saved regs */
147e83
+#define PARMS	4+16	/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define SIZE	S1+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define SIZE	S1+4
147e83
 #define S2LIMB	SIZE+4
147e83
 
147e83
 #define res_ptr edi
147e83
@@ -34,7 +32,7 @@
147e83
 #define s2_limb ebx
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_addmul_1))
147e83
+ENTRY (__mpn_addmul_1)
147e83
 
147e83
 	pushl	%res_ptr
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -93,4 +91,4 @@ L(oop):	adcl	$0, %ebp
147e83
 
147e83
 	ret
147e83
 #undef size
147e83
-END (BP_SYM (__mpn_addmul_1))
147e83
+END (__mpn_addmul_1)
147e83
diff --git a/sysdeps/i386/i586/bzero.S b/sysdeps/i386/i586/bzero.S
147e83
index 220aa47c3f9c6d5c..84d2f709c16d0b46 100644
147e83
--- a/sysdeps/i386/i586/bzero.S
147e83
+++ b/sysdeps/i386/i586/bzero.S
147e83
@@ -1,3 +1,3 @@
147e83
 #define memset __bzero
147e83
 #include <sysdeps/i386/i586/memset.S>
147e83
-weak_alias (BP_SYM (__bzero), BP_SYM (bzero))
147e83
+weak_alias (__bzero, bzero)
147e83
diff --git a/sysdeps/i386/i586/lshift.S b/sysdeps/i386/i586/lshift.S
147e83
index 23c5002d69f50f8f..2f25ed1d854e90c2 100644
147e83
--- a/sysdeps/i386/i586/lshift.S
147e83
+++ b/sysdeps/i386/i586/lshift.S
147e83
@@ -18,17 +18,15 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16		/* space for 4 saved regs */
147e83
+#define PARMS	4+16		/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S	RES+PTR_SIZE
147e83
-#define SIZE	S+PTR_SIZE
147e83
+#define S	RES+4
147e83
+#define SIZE	S+4
147e83
 #define CNT	SIZE+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_lshift))
147e83
+ENTRY (__mpn_lshift)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -254,4 +252,4 @@ L(L1):	movl	%edx,(%edi)		/* store last limb */
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_lshift))
147e83
+END (__mpn_lshift)
147e83
diff --git a/sysdeps/i386/i586/memcpy.S b/sysdeps/i386/i586/memcpy.S
147e83
index 07f5432d761c453d..baa8d11c44ccfd67 100644
147e83
--- a/sysdeps/i386/i586/memcpy.S
147e83
+++ b/sysdeps/i386/i586/memcpy.S
147e83
@@ -19,19 +19,17 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 /* BEWARE: `#ifdef memcpy' means that memcpy is redefined as `mempcpy',
147e83
    and the return value is the byte after the last one copied in
147e83
    the destination. */
147e83
 #define MEMPCPY_P (defined memcpy)
147e83
 
147e83
-#define PARMS	LINKAGE+8	/* space for 2 saved regs */
147e83
+#define PARMS	4+8	/* space for 2 saved regs */
147e83
 #define RTN	PARMS
147e83
-#define DEST	RTN+RTN_SIZE
147e83
-#define SRC	DEST+PTR_SIZE
147e83
-#define LEN	SRC+PTR_SIZE
147e83
+#define DEST	RTN
147e83
+#define SRC	DEST+4
147e83
+#define LEN	SRC+4
147e83
 
147e83
         .text
147e83
 #if defined PIC && IS_IN (libc)
147e83
@@ -41,7 +39,7 @@ ENTRY (__memcpy_chk)
147e83
 	jb	HIDDEN_JUMPTARGET (__chk_fail)
147e83
 END (__memcpy_chk)
147e83
 #endif
147e83
-ENTRY (BP_SYM (memcpy))
147e83
+ENTRY (memcpy)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -124,8 +122,8 @@ L(1):	rep; movsb
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (memcpy))
147e83
+	ret
147e83
+END (memcpy)
147e83
 #if !MEMPCPY_P
147e83
 libc_hidden_builtin_def (memcpy)
147e83
 #endif
147e83
diff --git a/sysdeps/i386/i586/mempcpy.S b/sysdeps/i386/i586/mempcpy.S
147e83
index f492be7ca0722839..afc112d9d7986697 100644
147e83
--- a/sysdeps/i386/i586/mempcpy.S
147e83
+++ b/sysdeps/i386/i586/mempcpy.S
147e83
@@ -2,6 +2,6 @@
147e83
 #define __memcpy_chk __mempcpy_chk
147e83
 #include <sysdeps/i386/i586/memcpy.S>
147e83
 
147e83
-libc_hidden_def (BP_SYM (__mempcpy))
147e83
-weak_alias (BP_SYM (__mempcpy), BP_SYM (mempcpy))
147e83
+libc_hidden_def (__mempcpy)
147e83
+weak_alias (__mempcpy, mempcpy)
147e83
 libc_hidden_builtin_def (mempcpy)
147e83
diff --git a/sysdeps/i386/i586/memset.S b/sysdeps/i386/i586/memset.S
147e83
index 8234b99d734b24b0..c1b08e0f7357cc00 100644
147e83
--- a/sysdeps/i386/i586/memset.S
147e83
+++ b/sysdeps/i386/i586/memset.S
147e83
@@ -20,19 +20,17 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 /* BEWARE: `#ifdef memset' means that memset is redefined as `bzero' */
147e83
 #define BZERO_P (defined memset)
147e83
 
147e83
-#define PARMS	LINKAGE+4	/* space for 1 saved reg */
147e83
+#define PARMS	4+4	/* space for 1 saved reg */
147e83
 #define RTN	PARMS
147e83
-#define DEST	RTN+RTN_SIZE
147e83
+#define DEST	RTN
147e83
 #if BZERO_P
147e83
-# define LEN	DEST+PTR_SIZE
147e83
+# define LEN	DEST+4
147e83
 #else
147e83
-# define CHR	DEST+PTR_SIZE
147e83
+# define CHR	DEST+4
147e83
 # define LEN	CHR+4
147e83
 #endif
147e83
 
147e83
@@ -44,7 +42,7 @@ ENTRY (__memset_chk)
147e83
 	jb	HIDDEN_JUMPTARGET (__chk_fail)
147e83
 END (__memset_chk)
147e83
 #endif
147e83
-ENTRY (BP_SYM (memset))
147e83
+ENTRY (memset)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -117,7 +115,7 @@ L(2):	shrl	$2, %ecx	/* convert byte count to longword count */
147e83
 #if BZERO_P
147e83
 	ret
147e83
 #else
147e83
-	RET_PTR
147e83
+	ret
147e83
 #endif
147e83
-END (BP_SYM (memset))
147e83
+END (memset)
147e83
 libc_hidden_builtin_def (memset)
147e83
diff --git a/sysdeps/i386/i586/mul_1.S b/sysdeps/i386/i586/mul_1.S
147e83
index c694afb42141b16f..f5f119c9a9125ba6 100644
147e83
--- a/sysdeps/i386/i586/mul_1.S
147e83
+++ b/sysdeps/i386/i586/mul_1.S
147e83
@@ -19,13 +19,11 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16	/* space for 4 saved regs */
147e83
+#define PARMS	4+16	/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define SIZE	S1+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define SIZE	S1+4
147e83
 #define S2LIMB	SIZE+4
147e83
 
147e83
 #define res_ptr edi
147e83
@@ -34,7 +32,7 @@
147e83
 #define s2_limb ebx
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_mul_1))
147e83
+ENTRY (__mpn_mul_1)
147e83
 
147e83
 	pushl	%res_ptr
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -89,4 +87,4 @@ L(oop):	adcl	$0, %ebp
147e83
 
147e83
 	ret
147e83
 #undef size
147e83
-END (BP_SYM (__mpn_mul_1))
147e83
+END (__mpn_mul_1)
147e83
diff --git a/sysdeps/i386/i586/rshift.S b/sysdeps/i386/i586/rshift.S
147e83
index ce3710391193dbac..2625cf9e04122d45 100644
147e83
--- a/sysdeps/i386/i586/rshift.S
147e83
+++ b/sysdeps/i386/i586/rshift.S
147e83
@@ -18,17 +18,15 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16		/* space for 4 saved regs */
147e83
+#define PARMS	4+16		/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S	RES+PTR_SIZE
147e83
-#define SIZE	S+PTR_SIZE
147e83
+#define S	RES+4
147e83
+#define SIZE	S+4
147e83
 #define CNT	SIZE+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_rshift))
147e83
+ENTRY (__mpn_rshift)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -254,4 +252,4 @@ L(L1):	movl	%edx,(%edi)		/* store last limb */
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_rshift))
147e83
+END (__mpn_rshift)
147e83
diff --git a/sysdeps/i386/i586/strchr.S b/sysdeps/i386/i586/strchr.S
147e83
index 35259fb085840180..3821331851bf843d 100644
147e83
--- a/sysdeps/i386/i586/strchr.S
147e83
+++ b/sysdeps/i386/i586/strchr.S
147e83
@@ -20,8 +20,6 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 /* This version is especially optimized for the i586 (and following?)
147e83
    processors.  This is mainly done by using the two pipelines.  The
147e83
@@ -36,13 +34,13 @@
147e83
 /* The magic value which is used throughout in the whole code.  */
147e83
 #define magic 0xfefefeff
147e83
 
147e83
-#define PARMS	LINKAGE+16	/* space for 4 saved regs */
147e83
+#define PARMS	4+16	/* space for 4 saved regs */
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define CHR	STR+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define CHR	STR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strchr))
147e83
+ENTRY (strchr)
147e83
 
147e83
 	pushl %edi		/* Save callee-safe registers.  */
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
@@ -301,7 +299,7 @@ L(out):	popl %ebp		/* restore saved registers */
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
+	ret
147e83
 
147e83
 	cfi_adjust_cfa_offset (16)
147e83
 	cfi_rel_offset (edi, 12)
147e83
@@ -343,8 +341,8 @@ L(4):	subl $4, %eax		/* adjust pointer */
147e83
 
147e83
 L(3):	xorl %eax, %eax
147e83
 	jmp L(out)
147e83
-END (BP_SYM (strchr))
147e83
+END (strchr)
147e83
 
147e83
 #undef index
147e83
-weak_alias (BP_SYM (strchr), BP_SYM (index))
147e83
+weak_alias (strchr, index)
147e83
 libc_hidden_builtin_def (strchr)
147e83
diff --git a/sysdeps/i386/i586/strcpy.S b/sysdeps/i386/i586/strcpy.S
147e83
index edd21f135d46a732..56659182a784bb44 100644
147e83
--- a/sysdeps/i386/i586/strcpy.S
147e83
+++ b/sysdeps/i386/i586/strcpy.S
147e83
@@ -19,13 +19,11 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+12	/* space for 3 saved regs */
147e83
+#define PARMS	4+12	/* space for 3 saved regs */
147e83
 #define RTN	PARMS
147e83
-#define DEST	RTN+RTN_SIZE
147e83
-#define SRC	DEST+PTR_SIZE
147e83
+#define DEST	RTN
147e83
+#define SRC	DEST+4
147e83
 
147e83
 #ifndef USE_AS_STPCPY
147e83
 # define STRCPY strcpy
147e83
@@ -34,7 +32,7 @@
147e83
 #define magic 0xfefefeff
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (STRCPY))
147e83
+ENTRY (STRCPY)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -149,7 +147,6 @@ L(4):	movb	%dl, (%edi)
147e83
 L(end):	movb	%ah, (%edi)
147e83
 
147e83
 L(end2):
147e83
-	/* GKM FIXME: check high bounds  */
147e83
 #ifdef USE_AS_STPCPY
147e83
 	movl	%edi, %eax
147e83
 #else
147e83
@@ -165,8 +162,8 @@ L(end2):
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (STRCPY))
147e83
+	ret
147e83
+END (STRCPY)
147e83
 #ifndef USE_AS_STPCPY
147e83
 libc_hidden_builtin_def (strcpy)
147e83
 #endif
147e83
diff --git a/sysdeps/i386/i586/strlen.S b/sysdeps/i386/i586/strlen.S
147e83
index 323cb950790174e6..6b5fee3acf360bc4 100644
147e83
--- a/sysdeps/i386/i586/strlen.S
147e83
+++ b/sysdeps/i386/i586/strlen.S
147e83
@@ -20,8 +20,6 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 /* This version is especially optimized for the i586 (and following?)
147e83
    processors.  This is mainly done by using the two pipelines.  The
147e83
@@ -36,11 +34,11 @@
147e83
 /* The magic value which is used throughout in the whole code.  */
147e83
 #define magic 0xfefefeff
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define STR	PARMS
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strlen))
147e83
+ENTRY (strlen)
147e83
 
147e83
 	movl STR(%esp), %eax
147e83
 	movl $3, %edx		/* load mask (= 3) */
147e83
@@ -180,5 +178,5 @@ L(2):	subl STR(%esp), %eax	/* now compute the length as difference
147e83
 				   between start and terminating NUL
147e83
 				   character */
147e83
 	ret
147e83
-END (BP_SYM (strlen))
147e83
+END (strlen)
147e83
 libc_hidden_builtin_def (strlen)
147e83
diff --git a/sysdeps/i386/i586/sub_n.S b/sysdeps/i386/i586/sub_n.S
147e83
index 07bddca9a8ce7fe8..68442a688ac796a3 100644
147e83
--- a/sysdeps/i386/i586/sub_n.S
147e83
+++ b/sysdeps/i386/i586/sub_n.S
147e83
@@ -19,17 +19,15 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16		/* space for 4 saved regs */
147e83
+#define PARMS	4+16		/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define S2	S1+PTR_SIZE
147e83
-#define SIZE	S2+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define S2	S1+4
147e83
+#define SIZE	S2+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_sub_n))
147e83
+ENTRY (__mpn_sub_n)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -142,4 +140,4 @@ L(end2):
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_sub_n))
147e83
+END (__mpn_sub_n)
147e83
diff --git a/sysdeps/i386/i586/submul_1.S b/sysdeps/i386/i586/submul_1.S
147e83
index a028d7089798ceb7..b553d25804bc5091 100644
147e83
--- a/sysdeps/i386/i586/submul_1.S
147e83
+++ b/sysdeps/i386/i586/submul_1.S
147e83
@@ -19,13 +19,11 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16	/* space for 4 saved regs */
147e83
+#define PARMS	4+16	/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define SIZE	S1+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define SIZE	S1+4
147e83
 #define S2LIMB	SIZE+4
147e83
 
147e83
 #define res_ptr edi
147e83
@@ -34,7 +32,7 @@
147e83
 #define s2_limb ebx
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_submul_1))
147e83
+ENTRY (__mpn_submul_1)
147e83
 
147e83
 	pushl	%res_ptr
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -93,4 +91,4 @@ L(oop):	adcl	$0, %ebp
147e83
 
147e83
 	ret
147e83
 #undef size
147e83
-END (BP_SYM (__mpn_submul_1))
147e83
+END (__mpn_submul_1)
147e83
diff --git a/sysdeps/i386/i686/add_n.S b/sysdeps/i386/i686/add_n.S
147e83
index f645a21c1cad52ab..2ccf0215549cda2b 100644
147e83
--- a/sysdeps/i386/i686/add_n.S
147e83
+++ b/sysdeps/i386/i686/add_n.S
147e83
@@ -19,21 +19,19 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+8		/* space for 2 saved regs */
147e83
+#define PARMS	4+8		/* space for 2 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define S2	S1+PTR_SIZE
147e83
-#define SIZE	S2+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define S2	S1+4
147e83
+#define SIZE	S2+4
147e83
 
147e83
 	.text
147e83
 #ifdef PIC
147e83
 L(1):	addl    (%esp), %eax
147e83
 	ret
147e83
 #endif
147e83
-ENTRY (BP_SYM (__mpn_add_n))
147e83
+ENTRY (__mpn_add_n)
147e83
 
147e83
 	pushl %edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -109,4 +107,4 @@ L(oop):	movl	(%esi),%eax
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_add_n))
147e83
+END (__mpn_add_n)
147e83
diff --git a/sysdeps/i386/i686/bzero.S b/sysdeps/i386/i686/bzero.S
147e83
index c1e4a6d50e5e8d99..34b0faa91b964303 100644
147e83
--- a/sysdeps/i386/i686/bzero.S
147e83
+++ b/sysdeps/i386/i686/bzero.S
147e83
@@ -1,3 +1,3 @@
147e83
 #define memset __bzero
147e83
 #include <sysdeps/i386/i686/memset.S>
147e83
-weak_alias (BP_SYM (__bzero), BP_SYM (bzero))
147e83
+weak_alias (__bzero, bzero)
147e83
diff --git a/sysdeps/i386/i686/memcmp.S b/sysdeps/i386/i686/memcmp.S
147e83
index f45a22400242cb02..77cfb42b821fee78 100644
147e83
--- a/sysdeps/i386/i686/memcmp.S
147e83
+++ b/sysdeps/i386/i686/memcmp.S
147e83
@@ -18,13 +18,11 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS		LINKAGE+4	/* Preserve EBX.  */
147e83
+#define PARMS		4+4	/* Preserve EBX.  */
147e83
 #define BLK1		PARMS
147e83
-#define BLK2		BLK1+PTR_SIZE
147e83
-#define LEN		BLK2+PTR_SIZE
147e83
+#define BLK2		BLK1+4
147e83
+#define LEN		BLK2+4
147e83
 #define ENTRANCE	pushl %ebx; cfi_adjust_cfa_offset (4); \
147e83
 			cfi_rel_offset (ebx, 0)
147e83
 #define RETURN		popl %ebx; cfi_adjust_cfa_offset (-4); \
147e83
@@ -44,7 +42,7 @@
147e83
 
147e83
         .text
147e83
 	ALIGN (4)
147e83
-ENTRY (BP_SYM (memcmp))
147e83
+ENTRY (memcmp)
147e83
 	ENTRANCE
147e83
 
147e83
 	movl	BLK1(%esp), %eax
147e83
@@ -366,7 +364,7 @@ L(set):
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (esi)
147e83
 	RETURN
147e83
-END (BP_SYM (memcmp))
147e83
+END (memcmp)
147e83
 
147e83
 	.section	.rodata
147e83
 	ALIGN (2)
147e83
@@ -406,5 +404,5 @@ L(table_32bytes) :
147e83
 
147e83
 
147e83
 #undef bcmp
147e83
-weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))
147e83
-libc_hidden_builtin_def (BP_SYM (memcmp))
147e83
+weak_alias (memcmp, bcmp)
147e83
+libc_hidden_builtin_def (memcmp)
147e83
diff --git a/sysdeps/i386/i686/memcpy.S b/sysdeps/i386/i686/memcpy.S
147e83
index 68f7e40031b1b4db..fae614e682c50995 100644
147e83
--- a/sysdeps/i386/i686/memcpy.S
147e83
+++ b/sysdeps/i386/i686/memcpy.S
147e83
@@ -20,14 +20,12 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define RTN	PARMS
147e83
-#define DEST	RTN+RTN_SIZE
147e83
-#define SRC	DEST+PTR_SIZE
147e83
-#define LEN	SRC+PTR_SIZE
147e83
+#define DEST	RTN
147e83
+#define SRC	DEST+4
147e83
+#define LEN	SRC+4
147e83
 
147e83
 	.text
147e83
 #if defined PIC && IS_IN (libc)
147e83
@@ -37,7 +35,7 @@ ENTRY_CHK (__memcpy_chk)
147e83
 	jb	HIDDEN_JUMPTARGET (__chk_fail)
147e83
 END_CHK (__memcpy_chk)
147e83
 #endif
147e83
-ENTRY (BP_SYM (memcpy))
147e83
+ENTRY (memcpy)
147e83
 
147e83
 	movl	%edi, %eax
147e83
 	movl	DEST(%esp), %edi
147e83
@@ -81,7 +79,7 @@ ENTRY (BP_SYM (memcpy))
147e83
 	movl	%edx, %esi
147e83
 	movl	DEST(%esp), %eax
147e83
 
147e83
-	RET_PTR
147e83
+	ret
147e83
 
147e83
 	/* When we come here the pointers do not have the same
147e83
 	   alignment or the length is too short.  No need to optimize for
147e83
@@ -96,5 +94,5 @@ ENTRY (BP_SYM (memcpy))
147e83
 2:	rep
147e83
 	movsl
147e83
 	jmp	.Lend
147e83
-END (BP_SYM (memcpy))
147e83
+END (memcpy)
147e83
 libc_hidden_builtin_def (memcpy)
147e83
diff --git a/sysdeps/i386/i686/memmove.S b/sysdeps/i386/i686/memmove.S
147e83
index 683f45fc44fc4f4f..50cf1cf222b922e3 100644
147e83
--- a/sysdeps/i386/i686/memmove.S
147e83
+++ b/sysdeps/i386/i686/memmove.S
147e83
@@ -20,22 +20,20 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+4	/* one spilled register */
147e83
+#define PARMS	4+4	/* one spilled register */
147e83
 #define RTN	PARMS
147e83
 
147e83
 	.text
147e83
 
147e83
 #ifdef USE_AS_BCOPY
147e83
-# define SRC	RTN+RTN_SIZE
147e83
-# define DEST	SRC+PTR_SIZE
147e83
-# define LEN	DEST+PTR_SIZE
147e83
+# define SRC	RTN
147e83
+# define DEST	SRC+4
147e83
+# define LEN	DEST+4
147e83
 #else
147e83
-# define DEST	RTN+RTN_SIZE
147e83
-# define SRC	DEST+PTR_SIZE
147e83
-# define LEN	SRC+PTR_SIZE
147e83
+# define DEST	RTN
147e83
+# define SRC	DEST+4
147e83
+# define LEN	SRC+4
147e83
 
147e83
 # if defined PIC && IS_IN (libc)
147e83
 ENTRY_CHK (__memmove_chk)
147e83
@@ -46,7 +44,7 @@ END_CHK (__memmove_chk)
147e83
 # endif
147e83
 #endif
147e83
 
147e83
-ENTRY (BP_SYM (memmove))
147e83
+ENTRY (memmove)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -82,7 +80,7 @@ ENTRY (BP_SYM (memmove))
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
+	ret
147e83
 
147e83
 	cfi_adjust_cfa_offset (4)
147e83
 	cfi_rel_offset (edi, 0)
147e83
@@ -115,8 +113,8 @@ ENTRY (BP_SYM (memmove))
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (memmove))
147e83
+	ret
147e83
+END (memmove)
147e83
 #ifndef USE_AS_BCOPY
147e83
 libc_hidden_builtin_def (memmove)
147e83
 #endif
147e83
diff --git a/sysdeps/i386/i686/mempcpy.S b/sysdeps/i386/i686/mempcpy.S
147e83
index facff870e3f8f9de..c4b9d9dce361d0f0 100644
147e83
--- a/sysdeps/i386/i686/mempcpy.S
147e83
+++ b/sysdeps/i386/i686/mempcpy.S
147e83
@@ -20,14 +20,12 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define RTN	PARMS
147e83
-#define DEST	RTN+RTN_SIZE
147e83
-#define SRC	DEST+PTR_SIZE
147e83
-#define LEN	SRC+PTR_SIZE
147e83
+#define DEST	RTN
147e83
+#define SRC	DEST+4
147e83
+#define LEN	SRC+4
147e83
 
147e83
 	.text
147e83
 #if defined PIC && IS_IN (libc)
147e83
@@ -37,7 +35,7 @@ ENTRY_CHK (__mempcpy_chk)
147e83
 	jb	HIDDEN_JUMPTARGET (__chk_fail)
147e83
 END_CHK (__mempcpy_chk)
147e83
 #endif
147e83
-ENTRY (BP_SYM (__mempcpy))
147e83
+ENTRY (__mempcpy)
147e83
 
147e83
 	movl	LEN(%esp), %ecx
147e83
 	movl	%edi, %eax
147e83
@@ -60,8 +58,8 @@ ENTRY (BP_SYM (__mempcpy))
147e83
 	movl	%edx, %esi
147e83
 	cfi_restore (esi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (__mempcpy))
147e83
-libc_hidden_def (BP_SYM (__mempcpy))
147e83
-weak_alias (BP_SYM (__mempcpy), BP_SYM (mempcpy))
147e83
+	ret
147e83
+END (__mempcpy)
147e83
+libc_hidden_def (__mempcpy)
147e83
+weak_alias (__mempcpy, mempcpy)
147e83
 libc_hidden_builtin_def (mempcpy)
147e83
diff --git a/sysdeps/i386/i686/memset.S b/sysdeps/i386/i686/memset.S
147e83
index 7db25497117b6258..b9cb50d1bbf12f3d 100644
147e83
--- a/sysdeps/i386/i686/memset.S
147e83
+++ b/sysdeps/i386/i686/memset.S
147e83
@@ -20,20 +20,18 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 /* BEWARE: `#ifdef memset' means that memset is redefined as `bzero' */
147e83
 #define BZERO_P (defined memset)
147e83
 
147e83
-#define PARMS	LINKAGE+4	/* space for 1 saved reg */
147e83
+#define PARMS	4+4	/* space for 1 saved reg */
147e83
 #if BZERO_P
147e83
 # define DEST	PARMS
147e83
-# define LEN	DEST+PTR_SIZE
147e83
+# define LEN	DEST+4
147e83
 #else
147e83
 # define RTN	PARMS
147e83
-# define DEST	RTN+RTN_SIZE
147e83
-# define CHR	DEST+PTR_SIZE
147e83
+# define DEST	RTN
147e83
+# define CHR	DEST+4
147e83
 # define LEN	CHR+4
147e83
 #endif
147e83
 
147e83
@@ -45,7 +43,7 @@ ENTRY_CHK (__memset_chk)
147e83
 	jb	HIDDEN_JUMPTARGET (__chk_fail)
147e83
 END_CHK (__memset_chk)
147e83
 #endif
147e83
-ENTRY (BP_SYM (memset))
147e83
+ENTRY (memset)
147e83
 
147e83
 	cld
147e83
 	pushl	%edi
147e83
@@ -96,9 +94,9 @@ ENTRY (BP_SYM (memset))
147e83
 #if BZERO_P
147e83
 	ret
147e83
 #else
147e83
-	RET_PTR
147e83
+	ret
147e83
 #endif
147e83
-END (BP_SYM (memset))
147e83
+END (memset)
147e83
 libc_hidden_builtin_def (memset)
147e83
 
147e83
 #if defined PIC && IS_IN (libc) && !BZERO_P
147e83
diff --git a/sysdeps/i386/i686/strcmp.S b/sysdeps/i386/i686/strcmp.S
147e83
index 0423aac297358c77..70c356e721c6c8b8 100644
147e83
--- a/sysdeps/i386/i686/strcmp.S
147e83
+++ b/sysdeps/i386/i686/strcmp.S
147e83
@@ -19,15 +19,13 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define STR1	PARMS
147e83
-#define STR2	STR1+PTR_SIZE
147e83
+#define STR2	STR1+4
147e83
 
147e83
         .text
147e83
-ENTRY (BP_SYM (strcmp))
147e83
+ENTRY (strcmp)
147e83
 
147e83
 	movl	STR1(%esp), %ecx
147e83
 	movl	STR2(%esp), %edx
147e83
@@ -50,5 +48,5 @@ L(neq):	movl	$1, %eax
147e83
 	cmovbl	%ecx, %eax
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (strcmp))
147e83
+END (strcmp)
147e83
 libc_hidden_builtin_def (strcmp)
147e83
diff --git a/sysdeps/i386/i686/strtok.S b/sysdeps/i386/i686/strtok.S
147e83
index 372352e32a84f81d..cc5df557113b44c1 100644
147e83
--- a/sysdeps/i386/i686/strtok.S
147e83
+++ b/sysdeps/i386/i686/strtok.S
147e83
@@ -20,8 +20,6 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 /* This file can be used for three variants of the strtok function:
147e83
 
147e83
@@ -58,15 +56,15 @@ save_ptr:
147e83
 #endif
147e83
 
147e83
 #if !defined USE_AS_STRTOK_R && defined PIC
147e83
-# define PARMS	LINKAGE+256+4	/* space for table and saved PIC register */
147e83
+# define PARMS	4+256+4	/* space for table and saved PIC register */
147e83
 #else
147e83
-# define PARMS	LINKAGE+256	/* space for table */
147e83
+# define PARMS	4+256	/* space for table */
147e83
 #endif
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define DELIM	STR+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define DELIM	STR+4
147e83
 #ifdef USE_AS_STRTOK_R
147e83
-# define SAVE	DELIM+PTR_SIZE
147e83
+# define SAVE	DELIM+4
147e83
 #endif
147e83
 
147e83
 	.text
147e83
@@ -76,7 +74,7 @@ save_ptr:
147e83
 	ret
147e83
 #endif
147e83
 
147e83
-ENTRY (BP_SYM (FUNCTION))
147e83
+ENTRY (FUNCTION)
147e83
 
147e83
 #if !defined USE_AS_STRTOK_R && defined PIC
147e83
 	pushl %ebx			/* Save PIC register.  */
147e83
@@ -233,7 +231,7 @@ L(epilogue):
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (ebx)
147e83
 #endif
147e83
-	RET_PTR
147e83
+	ret
147e83
 
147e83
 L(returnNULL):
147e83
 	xorl %eax, %eax
147e83
@@ -243,4 +241,4 @@ L(returnNULL):
147e83
 	movl %edx, SAVE_PTR
147e83
 	jmp L(epilogue)
147e83
 
147e83
-END (BP_SYM (FUNCTION))
147e83
+END (FUNCTION)
147e83
diff --git a/sysdeps/i386/i686/strtok_r.S b/sysdeps/i386/i686/strtok_r.S
147e83
index 1c24ca85f5f084d7..353e076ba7bfe5d7 100644
147e83
--- a/sysdeps/i386/i686/strtok_r.S
147e83
+++ b/sysdeps/i386/i686/strtok_r.S
147e83
@@ -1,5 +1,5 @@
147e83
 #define FUNCTION __strtok_r
147e83
 #define USE_AS_STRTOK_R	1
147e83
 #include <sysdeps/i386/i686/strtok.S>
147e83
-weak_alias (BP_SYM (__strtok_r), BP_SYM (strtok_r))
147e83
-strong_alias (BP_SYM (__strtok_r), BP_SYM (__GI___strtok_r))
147e83
+weak_alias (__strtok_r, strtok_r)
147e83
+strong_alias (__strtok_r, __GI___strtok_r)
147e83
diff --git a/sysdeps/i386/lshift.S b/sysdeps/i386/lshift.S
147e83
index b40d4ddd3a0e7fd7..7f70a85d6836b816 100644
147e83
--- a/sysdeps/i386/lshift.S
147e83
+++ b/sysdeps/i386/lshift.S
147e83
@@ -18,17 +18,15 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+12		/* space for 3 saved regs */
147e83
+#define PARMS	4+12		/* space for 3 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S	RES+PTR_SIZE
147e83
-#define SIZE	S+PTR_SIZE
147e83
+#define S	RES+4
147e83
+#define SIZE	S+4
147e83
 #define CNT	SIZE+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_lshift))
147e83
+ENTRY (__mpn_lshift)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -102,4 +100,4 @@ L(end):	shll	%cl,%ebx		/* compute least significant limb */
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_lshift))
147e83
+END (__mpn_lshift)
147e83
diff --git a/sysdeps/i386/memchr.S b/sysdeps/i386/memchr.S
147e83
index 88651e527650b26b..c8ba5f0e9eb76d09 100644
147e83
--- a/sysdeps/i386/memchr.S
147e83
+++ b/sysdeps/i386/memchr.S
147e83
@@ -28,17 +28,15 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+8		/* space for 2 saved regs */
147e83
+#define PARMS	4+8		/* space for 2 saved regs */
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define CHR	STR+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define CHR	STR+4
147e83
 #define LEN	CHR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__memchr))
147e83
+ENTRY (__memchr)
147e83
 
147e83
 	/* Save callee-safe registers used in this function.  */
147e83
 	pushl %esi
147e83
@@ -317,8 +315,8 @@ L(9):	popl %edi		/* pop saved registers */
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (esi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (__memchr))
147e83
+	ret
147e83
+END (__memchr)
147e83
 
147e83
-weak_alias (BP_SYM (__memchr), BP_SYM (memchr))
147e83
+weak_alias (__memchr, memchr)
147e83
 libc_hidden_builtin_def (memchr)
147e83
diff --git a/sysdeps/i386/memcmp.S b/sysdeps/i386/memcmp.S
147e83
index 1d5535a29dd12b33..89512f0ed139f22e 100644
147e83
--- a/sysdeps/i386/memcmp.S
147e83
+++ b/sysdeps/i386/memcmp.S
147e83
@@ -18,16 +18,14 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+4	/* space for 1 saved reg */
147e83
+#define PARMS	4+4	/* space for 1 saved reg */
147e83
 #define BLK1	PARMS
147e83
-#define BLK2	BLK1+PTR_SIZE
147e83
-#define LEN	BLK2+PTR_SIZE
147e83
+#define BLK2	BLK1+4
147e83
+#define LEN	BLK2+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (memcmp))
147e83
+ENTRY (memcmp)
147e83
 
147e83
 	pushl %esi		/* Save callee-safe registers.  */
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -68,8 +66,8 @@ L(1):	popl %esi		/* Restore registers.  */
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (memcmp))
147e83
+END (memcmp)
147e83
 
147e83
 #undef bcmp
147e83
-weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))
147e83
-libc_hidden_builtin_def (BP_SYM (memcmp))
147e83
+weak_alias (memcmp, bcmp)
147e83
+libc_hidden_builtin_def (memcmp)
147e83
diff --git a/sysdeps/i386/mul_1.S b/sysdeps/i386/mul_1.S
147e83
index 71f8dceb188057d9..6ed3a3a5a4ade481 100644
147e83
--- a/sysdeps/i386/mul_1.S
147e83
+++ b/sysdeps/i386/mul_1.S
147e83
@@ -19,13 +19,11 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16	/* space for 4 saved regs */
147e83
+#define PARMS	4+16	/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define SIZE	S1+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define SIZE	S1+4
147e83
 #define S2LIMB	SIZE+4
147e83
 
147e83
 #define res_ptr edi
147e83
@@ -34,7 +32,7 @@
147e83
 #define s2_limb ebx
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_mul_1))
147e83
+ENTRY (__mpn_mul_1)
147e83
 
147e83
 	pushl	%res_ptr
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -85,4 +83,4 @@ L(oop):
147e83
 
147e83
 	ret
147e83
 #undef size
147e83
-END (BP_SYM (__mpn_mul_1))
147e83
+END (__mpn_mul_1)
147e83
diff --git a/sysdeps/i386/rawmemchr.S b/sysdeps/i386/rawmemchr.S
147e83
index 3ce497485e439c02..4988df295c212cd3 100644
147e83
--- a/sysdeps/i386/rawmemchr.S
147e83
+++ b/sysdeps/i386/rawmemchr.S
147e83
@@ -28,16 +28,14 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+4	/* space for 1 saved reg */
147e83
+#define PARMS	4+4	/* space for 1 saved reg */
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define CHR	STR+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define CHR	STR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__rawmemchr))
147e83
+ENTRY (__rawmemchr)
147e83
 
147e83
 	/* Save callee-safe register used in this function.  */
147e83
 	pushl %edi
147e83
@@ -217,8 +215,8 @@ L(9):
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (__rawmemchr))
147e83
+	ret
147e83
+END (__rawmemchr)
147e83
 
147e83
-libc_hidden_def (BP_SYM (__rawmemchr))
147e83
-weak_alias (BP_SYM (__rawmemchr), BP_SYM (rawmemchr))
147e83
+libc_hidden_def (__rawmemchr)
147e83
+weak_alias (__rawmemchr, rawmemchr)
147e83
diff --git a/sysdeps/i386/rshift.S b/sysdeps/i386/rshift.S
147e83
index 48f7c4f89dc408d3..eba15a2b7acf089d 100644
147e83
--- a/sysdeps/i386/rshift.S
147e83
+++ b/sysdeps/i386/rshift.S
147e83
@@ -18,17 +18,15 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+12		/* space for 3 saved regs */
147e83
+#define PARMS	4+12		/* space for 3 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S	RES+PTR_SIZE
147e83
-#define SIZE	S+PTR_SIZE
147e83
+#define S	RES+4
147e83
+#define SIZE	S+4
147e83
 #define CNT	SIZE+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_rshift))
147e83
+ENTRY (__mpn_rshift)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -104,4 +102,4 @@ L(end):	shrl	%cl,%ebx		/* compute most significant limb */
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_rshift))
147e83
+END (__mpn_rshift)
147e83
diff --git a/sysdeps/i386/setjmp.S b/sysdeps/i386/setjmp.S
147e83
index 8e7a4df25bd2ff8d..56e6631c489362fb 100644
147e83
--- a/sysdeps/i386/setjmp.S
147e83
+++ b/sysdeps/i386/setjmp.S
147e83
@@ -19,15 +19,13 @@
147e83
 #include <sysdep.h>
147e83
 #include <jmpbuf-offsets.h>
147e83
 #include <asm-syntax.h>
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 #include <stap-probe.h>
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define JMPBUF	PARMS
147e83
-#define SIGMSK	JMPBUF+PTR_SIZE
147e83
+#define SIGMSK	JMPBUF+4
147e83
 
147e83
-ENTRY (BP_SYM (__sigsetjmp))
147e83
+ENTRY (__sigsetjmp)
147e83
 
147e83
 	movl JMPBUF(%esp), %eax
147e83
 
147e83
@@ -40,7 +38,7 @@ ENTRY (BP_SYM (__sigsetjmp))
147e83
 	PTR_MANGLE (%ecx)
147e83
 #endif
147e83
      	movl %ecx, (JB_SP*4)(%eax)
147e83
-	movl PCOFF(%esp), %ecx	/* Save PC we are returning to now.  */
147e83
+	movl 0(%esp), %ecx	/* Save PC we are returning to now.  */
147e83
 	LIBC_PROBE (setjmp, 3, 4@%eax, -4@SIGMSK(%esp), 4@%ecx)
147e83
 #ifdef PTR_MANGLE
147e83
 	PTR_MANGLE (%ecx)
147e83
@@ -56,4 +54,4 @@ ENTRY (BP_SYM (__sigsetjmp))
147e83
 	/* Make a tail call to __sigjmp_save; it takes the same args.  */
147e83
 	jmp __sigjmp_save
147e83
 #endif
147e83
-END (BP_SYM (__sigsetjmp))
147e83
+END (__sigsetjmp)
147e83
diff --git a/sysdeps/i386/start.S b/sysdeps/i386/start.S
147e83
index 990f3715d59fd6ea..4afb95205181e3f2 100644
147e83
--- a/sysdeps/i386/start.S
147e83
+++ b/sysdeps/i386/start.S
147e83
@@ -52,8 +52,6 @@
147e83
 					NULL
147e83
 */
147e83
 
147e83
-#include "bp-sym.h"
147e83
-
147e83
 	.text
147e83
 	.globl _start
147e83
 	.type _start,@function
147e83
@@ -97,11 +95,11 @@ _start:
147e83
 	pushl %ecx		/* Push second argument: argv.  */
147e83
 	pushl %esi		/* Push first argument: argc.  */
147e83
 
147e83
-	pushl BP_SYM (main)@GOT(%ebx)
147e83
+	pushl main@GOT(%ebx)
147e83
 
147e83
 	/* Call the user's main function, and exit with its value.
147e83
 	   But let the libc call main.    */
147e83
-	call BP_SYM (__libc_start_main)@PLT
147e83
+	call __libc_start_main@PLT
147e83
 #else
147e83
 	/* Push address of our own entry points to .fini and .init.  */
147e83
 	pushl $__libc_csu_fini
147e83
@@ -110,11 +108,11 @@ _start:
147e83
 	pushl %ecx		/* Push second argument: argv.  */
147e83
 	pushl %esi		/* Push first argument: argc.  */
147e83
 
147e83
-	pushl $BP_SYM (main)
147e83
+	pushl $main
147e83
 
147e83
 	/* Call the user's main function, and exit with its value.
147e83
 	   But let the libc call main.    */
147e83
-	call BP_SYM (__libc_start_main)
147e83
+	call __libc_start_main
147e83
 #endif
147e83
 
147e83
 	hlt			/* Crash if somehow `exit' does return.  */
147e83
diff --git a/sysdeps/i386/stpcpy.S b/sysdeps/i386/stpcpy.S
147e83
index 3a01be3174ef0863..14573416254865c1 100644
147e83
--- a/sysdeps/i386/stpcpy.S
147e83
+++ b/sysdeps/i386/stpcpy.S
147e83
@@ -24,16 +24,14 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define RTN	PARMS
147e83
-#define DEST	RTN+RTN_SIZE
147e83
-#define SRC	DEST+PTR_SIZE
147e83
+#define DEST	RTN
147e83
+#define SRC	DEST+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__stpcpy))
147e83
+ENTRY (__stpcpy)
147e83
 
147e83
 	movl DEST(%esp), %eax
147e83
 	movl SRC(%esp), %ecx
147e83
@@ -83,9 +81,9 @@ L(4):	incl %eax
147e83
 L(3):	incl %eax
147e83
 L(2):
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (__stpcpy))
147e83
+	ret
147e83
+END (__stpcpy)
147e83
 
147e83
-weak_alias (BP_SYM (__stpcpy), BP_SYM (stpcpy))
147e83
+weak_alias (__stpcpy, stpcpy)
147e83
 libc_hidden_def (__stpcpy)
147e83
 libc_hidden_builtin_def (stpcpy)
147e83
diff --git a/sysdeps/i386/stpncpy.S b/sysdeps/i386/stpncpy.S
147e83
index 7f3ca8c3b775b42f..870176640450258c 100644
147e83
--- a/sysdeps/i386/stpncpy.S
147e83
+++ b/sysdeps/i386/stpncpy.S
147e83
@@ -25,17 +25,15 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+4	/* space for 1 saved reg */
147e83
+#define PARMS	4+4	/* space for 1 saved reg */
147e83
 #define RTN	PARMS
147e83
-#define DEST	RTN+RTN_SIZE
147e83
-#define SRC	DEST+PTR_SIZE
147e83
-#define LEN	SRC+PTR_SIZE
147e83
+#define DEST	RTN
147e83
+#define SRC	DEST+4
147e83
+#define LEN	SRC+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__stpncpy))
147e83
+ENTRY (__stpncpy)
147e83
 
147e83
 	pushl %esi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -142,8 +140,8 @@ L(9):	popl %esi		/* restore saved register content */
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (esi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (__stpncpy))
147e83
+	ret
147e83
+END (__stpncpy)
147e83
 
147e83
-libc_hidden_def (BP_SYM (__stpncpy))
147e83
-weak_alias (BP_SYM (__stpncpy), BP_SYM (stpncpy))
147e83
+libc_hidden_def (__stpncpy)
147e83
+weak_alias (__stpncpy, stpncpy)
147e83
diff --git a/sysdeps/i386/strchr.S b/sysdeps/i386/strchr.S
147e83
index aff95b9b7ee4c35c..0def0d2e8c4549ee 100644
147e83
--- a/sysdeps/i386/strchr.S
147e83
+++ b/sysdeps/i386/strchr.S
147e83
@@ -22,16 +22,14 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+4		/* space for 1 saved reg */
147e83
+#define PARMS	4+4		/* space for 1 saved reg */
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define CHR	STR+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define CHR	STR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strchr))
147e83
+ENTRY (strchr)
147e83
 
147e83
 	pushl %edi		/* Save callee-safe registers used here.  */
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -246,7 +244,7 @@ L(2):	/* Return NULL.  */
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
+	ret
147e83
 
147e83
 	cfi_adjust_cfa_offset (4)
147e83
 	cfi_rel_offset (edi, 0)
147e83
@@ -286,8 +284,8 @@ L(6):
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (strchr))
147e83
+	ret
147e83
+END (strchr)
147e83
 
147e83
-weak_alias (BP_SYM (strchr), BP_SYM (index))
147e83
+weak_alias (strchr, index)
147e83
 libc_hidden_builtin_def (strchr)
147e83
diff --git a/sysdeps/i386/strchrnul.S b/sysdeps/i386/strchrnul.S
147e83
index 2aa7d82cc8af1dfc..6d2da6d6b1f1d306 100644
147e83
--- a/sysdeps/i386/strchrnul.S
147e83
+++ b/sysdeps/i386/strchrnul.S
147e83
@@ -22,16 +22,14 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+4	/* space for 1 saved reg */
147e83
+#define PARMS	4+4	/* space for 1 saved reg */
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define CHR	STR+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define CHR	STR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__strchrnul))
147e83
+ENTRY (__strchrnul)
147e83
 
147e83
 	pushl %edi		/* Save callee-safe registers used here.  */
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -274,7 +272,7 @@ L(6):	popl %edi		/* restore saved register content */
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (__strchrnul))
147e83
+	ret
147e83
+END (__strchrnul)
147e83
 
147e83
-weak_alias (BP_SYM (__strchrnul), BP_SYM (strchrnul))
147e83
+weak_alias (__strchrnul, strchrnul)
147e83
diff --git a/sysdeps/i386/strcspn.S b/sysdeps/i386/strcspn.S
147e83
index 40b5207809f74530..78becc3862d0cf15 100644
147e83
--- a/sysdeps/i386/strcspn.S
147e83
+++ b/sysdeps/i386/strcspn.S
147e83
@@ -22,15 +22,13 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define STR	PARMS
147e83
-#define STOP	STR+PTR_SIZE
147e83
+#define STOP	STR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strcspn))
147e83
+ENTRY (strcspn)
147e83
 
147e83
 	movl STR(%esp), %edx
147e83
 	movl STOP(%esp), %eax
147e83
@@ -238,5 +236,5 @@ L(4):	addl $256, %esp		/* remove stopset */
147e83
 				   characters, so compute distance to first
147e83
 				   non-valid character */
147e83
 	ret
147e83
-END (BP_SYM (strcspn))
147e83
+END (strcspn)
147e83
 libc_hidden_builtin_def (strcspn)
147e83
diff --git a/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S
147e83
index ae35ba44f6a624a7..0ecd6dae9fcaa701 100644
147e83
--- a/sysdeps/i386/strpbrk.S
147e83
+++ b/sysdeps/i386/strpbrk.S
147e83
@@ -22,16 +22,14 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define STOP	STR+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define STOP	STR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strpbrk))
147e83
+ENTRY (strpbrk)
147e83
 
147e83
 	movl STR(%esp), %edx
147e83
 	movl STOP(%esp), %eax
147e83
@@ -240,6 +238,6 @@ L(4):	addl $256, %esp		/* remove stopset */
147e83
 	jnz L(7)		/* no => return pointer */
147e83
 	xorl %eax, %eax
147e83
 
147e83
-L(7):	RET_PTR
147e83
-END (BP_SYM (strpbrk))
147e83
+L(7):	ret
147e83
+END (strpbrk)
147e83
 libc_hidden_builtin_def (strpbrk)
147e83
diff --git a/sysdeps/i386/strrchr.S b/sysdeps/i386/strrchr.S
147e83
index 57931c165831aa55..1fed985db81f6da2 100644
147e83
--- a/sysdeps/i386/strrchr.S
147e83
+++ b/sysdeps/i386/strrchr.S
147e83
@@ -21,16 +21,14 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+8	/* space for 2 saved regs */
147e83
+#define PARMS	4+8	/* space for 2 saved regs */
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define CHR	STR+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define CHR	STR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strrchr))
147e83
+ENTRY (strrchr)
147e83
 
147e83
 	pushl %edi		/* Save callee-safe registers used here.  */
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -329,8 +327,8 @@ L(2):	popl %esi		/* restore saved register content */
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (edi)
147e83
 
147e83
-	RET_PTR
147e83
-END (BP_SYM (strrchr))
147e83
+	ret
147e83
+END (strrchr)
147e83
 
147e83
-weak_alias (BP_SYM (strrchr), BP_SYM (rindex))
147e83
+weak_alias (strrchr, rindex)
147e83
 libc_hidden_builtin_def (strrchr)
147e83
diff --git a/sysdeps/i386/strspn.S b/sysdeps/i386/strspn.S
147e83
index 2b5c2a4c670bdfa2..aec4f290a332b2cf 100644
147e83
--- a/sysdeps/i386/strspn.S
147e83
+++ b/sysdeps/i386/strspn.S
147e83
@@ -22,15 +22,13 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define STR	PARMS
147e83
-#define SKIP	STR+PTR_SIZE
147e83
+#define SKIP	STR+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (strspn))
147e83
+ENTRY (strspn)
147e83
 
147e83
 	movl STR(%esp), %edx
147e83
 	movl SKIP(%esp), %eax
147e83
@@ -238,5 +236,5 @@ L(4):	addl $256, %esp		/* remove stopset */
147e83
 				   characters, so compute distance to first
147e83
 				   non-valid character */
147e83
 	ret
147e83
-END (BP_SYM (strspn))
147e83
+END (strspn)
147e83
 libc_hidden_builtin_def (strspn)
147e83
diff --git a/sysdeps/i386/strtok.S b/sysdeps/i386/strtok.S
147e83
index eb586928eb19bf21..d852027b870b0530 100644
147e83
--- a/sysdeps/i386/strtok.S
147e83
+++ b/sysdeps/i386/strtok.S
147e83
@@ -20,8 +20,6 @@
147e83
 
147e83
 #include <sysdep.h>
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
 /* This file can be used for three variants of the strtok function:
147e83
 
147e83
@@ -57,14 +55,14 @@ save_ptr:
147e83
 # define FUNCTION strtok
147e83
 #endif
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define RTN	PARMS
147e83
-#define STR	RTN+RTN_SIZE
147e83
-#define DELIM	STR+PTR_SIZE
147e83
-#define SAVE	DELIM+PTR_SIZE
147e83
+#define STR	RTN
147e83
+#define DELIM	STR+4
147e83
+#define SAVE	DELIM+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (FUNCTION))
147e83
+ENTRY (FUNCTION)
147e83
 
147e83
 	movl STR(%esp), %edx
147e83
 	movl DELIM(%esp), %eax
147e83
@@ -347,7 +345,7 @@ L(epilogue):
147e83
 	cfi_adjust_cfa_offset (-4)
147e83
 	cfi_restore (ebx)
147e83
 #endif
147e83
-	RET_PTR
147e83
+	ret
147e83
 
147e83
 L(returnNULL):
147e83
 	xorl %eax, %eax
147e83
@@ -357,4 +355,4 @@ L(returnNULL):
147e83
 	movl %edx, SAVE_PTR
147e83
 	jmp L(epilogue)
147e83
 
147e83
-END (BP_SYM (FUNCTION))
147e83
+END (FUNCTION)
147e83
diff --git a/sysdeps/i386/strtok_r.S b/sysdeps/i386/strtok_r.S
147e83
index f4a6a2c409ed1e22..508729370a17069b 100644
147e83
--- a/sysdeps/i386/strtok_r.S
147e83
+++ b/sysdeps/i386/strtok_r.S
147e83
@@ -1,5 +1,5 @@
147e83
 #define FUNCTION __strtok_r
147e83
 #define USE_AS_STRTOK_R	1
147e83
 #include <sysdeps/i386/strtok.S>
147e83
-weak_alias (BP_SYM (__strtok_r), BP_SYM (strtok_r))
147e83
-strong_alias (BP_SYM (__strtok_r), BP_SYM (__GI___strtok_r))
147e83
+weak_alias (__strtok_r, strtok_r)
147e83
+strong_alias (__strtok_r, __GI___strtok_r)
147e83
diff --git a/sysdeps/i386/sub_n.S b/sysdeps/i386/sub_n.S
147e83
index 2a09256f9c71f93a..1c6592db037cf19e 100644
147e83
--- a/sysdeps/i386/sub_n.S
147e83
+++ b/sysdeps/i386/sub_n.S
147e83
@@ -20,17 +20,15 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+8		/* space for 2 saved regs */
147e83
+#define PARMS	4+8		/* space for 2 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define S2	S1+PTR_SIZE
147e83
-#define SIZE	S2+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define S2	S1+4
147e83
+#define SIZE	S2+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_sub_n))
147e83
+ENTRY (__mpn_sub_n)
147e83
 
147e83
 	pushl %edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -111,4 +109,4 @@ L(oop):	movl	(%esi),%eax
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_sub_n))
147e83
+END (__mpn_sub_n)
147e83
diff --git a/sysdeps/i386/submul_1.S b/sysdeps/i386/submul_1.S
147e83
index c7054e0f6bd48a5e..9e03f504cf5070cd 100644
147e83
--- a/sysdeps/i386/submul_1.S
147e83
+++ b/sysdeps/i386/submul_1.S
147e83
@@ -19,13 +19,11 @@
147e83
 
147e83
 #include "sysdep.h"
147e83
 #include "asm-syntax.h"
147e83
-#include "bp-sym.h"
147e83
-#include "bp-asm.h"
147e83
 
147e83
-#define PARMS	LINKAGE+16	/* space for 4 saved regs */
147e83
+#define PARMS	4+16	/* space for 4 saved regs */
147e83
 #define RES	PARMS
147e83
-#define S1	RES+PTR_SIZE
147e83
-#define SIZE	S1+PTR_SIZE
147e83
+#define S1	RES+4
147e83
+#define SIZE	S1+4
147e83
 #define S2LIMB	SIZE+4
147e83
 
147e83
 #define res_ptr edi
147e83
@@ -34,7 +32,7 @@
147e83
 #define s2_limb ebx
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mpn_submul_1))
147e83
+ENTRY (__mpn_submul_1)
147e83
 
147e83
 	pushl	%edi
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -85,4 +83,4 @@ L(oop):
147e83
 	cfi_restore (edi)
147e83
 
147e83
 	ret
147e83
-END (BP_SYM (__mpn_submul_1))
147e83
+END (__mpn_submul_1)
147e83
diff --git a/sysdeps/unix/i386/sysdep.S b/sysdeps/unix/i386/sysdep.S
147e83
index 1795ace4136abdde..aee9655fe9497f9f 100644
147e83
--- a/sysdeps/unix/i386/sysdep.S
147e83
+++ b/sysdeps/unix/i386/sysdep.S
147e83
@@ -19,8 +19,6 @@
147e83
 #include <sysdep.h>
147e83
 #define _ERRNO_H
147e83
 #include <bits/errno.h>
147e83
-#include <bp-asm.h>
147e83
-#include <bp-sym.h>
147e83
 
147e83
 #if IS_IN (rtld)
147e83
 # include <dl-sysdep.h>		/* Defines RTLD_PRIVATE_ERRNO.  */
147e83
diff --git a/sysdeps/unix/sysv/linux/i386/clone.S b/sysdeps/unix/sysv/linux/i386/clone.S
147e83
index 1aa2a1f828b944a6..da57c8e5df43ab54 100644
147e83
--- a/sysdeps/unix/sysv/linux/i386/clone.S
147e83
+++ b/sysdeps/unix/sysv/linux/i386/clone.S
147e83
@@ -23,20 +23,18 @@
147e83
 #define _ERRNO_H	1
147e83
 #include <bits/errno.h>
147e83
 #include <asm-syntax.h>
147e83
-#include <bp-sym.h>
147e83
-#include <bp-asm.h>
147e83
 
147e83
 /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg,
147e83
 	     pid_t *ptid, struct user_desc *tls, pid_t *ctid); */
147e83
 
147e83
-#define PARMS	LINKAGE		/* no space for saved regs */
147e83
+#define PARMS	4		/* no space for saved regs */
147e83
 #define FUNC	PARMS
147e83
 #define STACK	FUNC+4
147e83
-#define FLAGS	STACK+PTR_SIZE
147e83
+#define FLAGS	STACK+4
147e83
 #define ARG	FLAGS+4
147e83
-#define PTID	ARG+PTR_SIZE
147e83
-#define TLS	PTID+PTR_SIZE
147e83
-#define CTID	TLS+PTR_SIZE
147e83
+#define PTID	ARG+4
147e83
+#define TLS	PTID+4
147e83
+#define CTID	TLS+4
147e83
 
147e83
 #define __NR_clone 120
147e83
 #define SYS_clone 120
147e83
@@ -45,7 +43,7 @@
147e83
 #define CLONE_THREAD	0x00010000
147e83
 
147e83
         .text
147e83
-ENTRY (BP_SYM (__clone))
147e83
+ENTRY (__clone)
147e83
 	/* Sanity check arguments.  */
147e83
 	movl	$-EINVAL,%eax
147e83
 	movl	FUNC(%esp),%ecx		/* no NULL function pointers */
147e83
@@ -156,6 +154,6 @@ L(nomoregetpid):
147e83
 	cfi_endproc;
147e83
 
147e83
 	cfi_startproc
147e83
-PSEUDO_END (BP_SYM (__clone))
147e83
+PSEUDO_END (__clone)
147e83
 
147e83
-weak_alias (BP_SYM (__clone), BP_SYM (clone))
147e83
+weak_alias (__clone, clone)
147e83
diff --git a/sysdeps/unix/sysv/linux/i386/mmap64.S b/sysdeps/unix/sysv/linux/i386/mmap64.S
147e83
index 8855109ff935a666..6765cd87000e27b8 100644
147e83
--- a/sysdeps/unix/sysv/linux/i386/mmap64.S
147e83
+++ b/sysdeps/unix/sysv/linux/i386/mmap64.S
147e83
@@ -16,8 +16,6 @@
147e83
    <http://www.gnu.org/licenses/>.  */
147e83
 
147e83
 #include <sysdep.h>
147e83
-#include <bp-sym.h>
147e83
-#include <bp-asm.h>
147e83
 
147e83
 #include <kernel-features.h>
147e83
 
147e83
@@ -25,9 +23,9 @@
147e83
 #define ENOSYS	38
147e83
 
147e83
 #define SVRSP	16		/* saved register space */
147e83
-#define PARMS	LINKAGE+SVRSP	/* space for 4 saved regs */
147e83
+#define PARMS	4+SVRSP	/* space for 4 saved regs */
147e83
 #define ADDR	PARMS
147e83
-#define LEN	ADDR+PTR_SIZE
147e83
+#define LEN	ADDR+4
147e83
 #define PROT	LEN+4
147e83
 #define FLAGS	PROT+4
147e83
 #define FD	FLAGS+4
147e83
@@ -35,7 +33,7 @@
147e83
 #define OFFHI	OFFLO+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__mmap64))
147e83
+ENTRY (__mmap64)
147e83
 
147e83
 	/* Save registers.  */
147e83
 	pushl %ebp
147e83
@@ -115,6 +113,6 @@ L(einval):
147e83
 	movl $-EINVAL, %eax
147e83
 	jmp SYSCALL_ERROR_LABEL
147e83
 
147e83
-PSEUDO_END (BP_SYM (__mmap64))
147e83
+PSEUDO_END (__mmap64)
147e83
 
147e83
-weak_alias (BP_SYM (__mmap64), BP_SYM (mmap64))
147e83
+weak_alias (__mmap64, mmap64)
147e83
diff --git a/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S b/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
147e83
index 00e6a4194d557645..1f29d8c37f61abd6 100644
147e83
--- a/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
147e83
+++ b/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
147e83
@@ -16,15 +16,13 @@
147e83
    <http://www.gnu.org/licenses/>.  */
147e83
 
147e83
 #include <sysdep.h>
147e83
-#include <bp-sym.h>
147e83
-#include <bp-asm.h>
147e83
 
147e83
 #define EINVAL	22
147e83
 #define ENOSYS	38
147e83
 #define EOVERFLOW 75
147e83
 
147e83
 #define SVRSP	16		/* saved register space */
147e83
-#define PARMS	LINKAGE+SVRSP	/* space for 4 saved regs */
147e83
+#define PARMS	4+SVRSP	/* space for 4 saved regs */
147e83
 #define FD	PARMS
147e83
 #define OFFLO	FD+4
147e83
 #define OFFHI	OFFLO+4
147e83
@@ -33,7 +31,7 @@
147e83
 #define FLAGS	LENHI+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (__posix_fadvise64_l64))
147e83
+ENTRY (__posix_fadvise64_l64)
147e83
 
147e83
 	/* Save registers.  */
147e83
 	pushl	%ebp
147e83
@@ -81,7 +79,7 @@ ENTRY (BP_SYM (__posix_fadvise64_l64))
147e83
 	/* Successful; return the syscall's value.  */
147e83
 	ret
147e83
 
147e83
-END (BP_SYM (__posix_fadvise64_l64))
147e83
+END (__posix_fadvise64_l64)
147e83
 
147e83
 	.section	.text.compat, "ax"
147e83
 ENTRY (__posix_fadvise64_l32)
147e83
diff --git a/sysdeps/unix/sysv/linux/i386/semtimedop.S b/sysdeps/unix/sysv/linux/i386/semtimedop.S
147e83
index 785be2efc9dd93c5..1acf775b80a20b53 100644
147e83
--- a/sysdeps/unix/sysv/linux/i386/semtimedop.S
147e83
+++ b/sysdeps/unix/sysv/linux/i386/semtimedop.S
147e83
@@ -21,14 +21,14 @@
147e83
 #define SYSOP_semtimedop 4
147e83
 
147e83
 #define SVRSP	12		/* saved register space */
147e83
-#define PARMS	LINKAGE+SVRSP	/* space for 3 saved regs */
147e83
+#define PARMS	4+SVRSP	/* space for 3 saved regs */
147e83
 #define SEMID	PARMS
147e83
 #define SOPS	SEMID+4
147e83
-#define NSOPS	SOPS+PTR_SIZE
147e83
+#define NSOPS	SOPS+4
147e83
 #define TIMEOUT	NSOPS+4
147e83
 
147e83
 	.text
147e83
-ENTRY (BP_SYM (semtimedop))
147e83
+ENTRY (semtimedop)
147e83
 
147e83
 	pushl	%ebp
147e83
 	cfi_adjust_cfa_offset (4)
147e83
@@ -70,4 +70,4 @@ ENTRY (BP_SYM (semtimedop))
147e83
 #ifdef PIC
147e83
 	.align	4
147e83
 #endif
147e83
-PSEUDO_END (BP_SYM (semtimedop))
147e83
+PSEUDO_END (semtimedop)
147e83
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h
147e83
index b99b67c830184e95..dfbdb2084491af90 100644
147e83
--- a/sysdeps/unix/sysv/linux/i386/sysdep.h
147e83
+++ b/sysdeps/unix/sysv/linux/i386/sysdep.h
147e83
@@ -21,8 +21,6 @@
147e83
 
147e83
 /* There is some commonality.  */
147e83
 #include <sysdeps/unix/i386/sysdep.h>
147e83
-#include <bp-sym.h>
147e83
-#include <bp-asm.h>
147e83
 /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO.  */
147e83
 #include <dl-sysdep.h>
147e83
 #include <tls.h>