[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r22483 - in /fsf/trunk/libc: ./ manual/ nptl/ nptl/sysdeps/unix/sysv/linux/ nptl/sysdeps/unix/sysv/linux/sparc/ ports/ ports...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r22483 - in /fsf/trunk/libc: ./ manual/ nptl/ nptl/sysdeps/unix/sysv/linux/ nptl/sysdeps/unix/sysv/linux/sparc/ ports/ ports...
- From: eglibc@xxxxxxxxxx
- Date: Fri, 22 Feb 2013 00:01:57 -0000
Author: eglibc
Date: Fri Feb 22 00:01:56 2013
New Revision: 22483
Log:
Import glibc-mainline for 2013-02-22
Removed:
fsf/trunk/libc/sysdeps/i386/bp-asm.h
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/manual/message.texi
fsf/trunk/libc/nptl/ChangeLog
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/fork.c
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
fsf/trunk/libc/ports/ChangeLog.alpha
fsf/trunk/libc/ports/sysdeps/unix/alpha/sysdep.h
fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
fsf/trunk/libc/sysdeps/i386/add_n.S
fsf/trunk/libc/sysdeps/i386/addmul_1.S
fsf/trunk/libc/sysdeps/i386/bsd-_setjmp.S
fsf/trunk/libc/sysdeps/i386/bsd-setjmp.S
fsf/trunk/libc/sysdeps/i386/fpu/s_frexp.S
fsf/trunk/libc/sysdeps/i386/fpu/s_frexpf.S
fsf/trunk/libc/sysdeps/i386/fpu/s_frexpl.S
fsf/trunk/libc/sysdeps/i386/fpu/s_remquo.S
fsf/trunk/libc/sysdeps/i386/fpu/s_remquof.S
fsf/trunk/libc/sysdeps/i386/fpu/s_remquol.S
fsf/trunk/libc/sysdeps/i386/i486/strcat.S
fsf/trunk/libc/sysdeps/i386/i486/strlen.S
fsf/trunk/libc/sysdeps/i386/i586/add_n.S
fsf/trunk/libc/sysdeps/i386/i586/addmul_1.S
fsf/trunk/libc/sysdeps/i386/i586/bzero.S
fsf/trunk/libc/sysdeps/i386/i586/lshift.S
fsf/trunk/libc/sysdeps/i386/i586/memcpy.S
fsf/trunk/libc/sysdeps/i386/i586/mempcpy.S
fsf/trunk/libc/sysdeps/i386/i586/memset.S
fsf/trunk/libc/sysdeps/i386/i586/mul_1.S
fsf/trunk/libc/sysdeps/i386/i586/rshift.S
fsf/trunk/libc/sysdeps/i386/i586/strchr.S
fsf/trunk/libc/sysdeps/i386/i586/strcpy.S
fsf/trunk/libc/sysdeps/i386/i586/strlen.S
fsf/trunk/libc/sysdeps/i386/i586/sub_n.S
fsf/trunk/libc/sysdeps/i386/i586/submul_1.S
fsf/trunk/libc/sysdeps/i386/i686/add_n.S
fsf/trunk/libc/sysdeps/i386/i686/bzero.S
fsf/trunk/libc/sysdeps/i386/i686/memcmp.S
fsf/trunk/libc/sysdeps/i386/i686/memcpy.S
fsf/trunk/libc/sysdeps/i386/i686/memmove.S
fsf/trunk/libc/sysdeps/i386/i686/mempcpy.S
fsf/trunk/libc/sysdeps/i386/i686/memset.S
fsf/trunk/libc/sysdeps/i386/i686/strcmp.S
fsf/trunk/libc/sysdeps/i386/i686/strtok.S
fsf/trunk/libc/sysdeps/i386/i686/strtok_r.S
fsf/trunk/libc/sysdeps/i386/lshift.S
fsf/trunk/libc/sysdeps/i386/memchr.S
fsf/trunk/libc/sysdeps/i386/memcmp.S
fsf/trunk/libc/sysdeps/i386/mul_1.S
fsf/trunk/libc/sysdeps/i386/rawmemchr.S
fsf/trunk/libc/sysdeps/i386/rshift.S
fsf/trunk/libc/sysdeps/i386/setjmp.S
fsf/trunk/libc/sysdeps/i386/start.S
fsf/trunk/libc/sysdeps/i386/stpcpy.S
fsf/trunk/libc/sysdeps/i386/stpncpy.S
fsf/trunk/libc/sysdeps/i386/strchr.S
fsf/trunk/libc/sysdeps/i386/strchrnul.S
fsf/trunk/libc/sysdeps/i386/strcspn.S
fsf/trunk/libc/sysdeps/i386/strpbrk.S
fsf/trunk/libc/sysdeps/i386/strrchr.S
fsf/trunk/libc/sysdeps/i386/strspn.S
fsf/trunk/libc/sysdeps/i386/strtok.S
fsf/trunk/libc/sysdeps/i386/strtok_r.S
fsf/trunk/libc/sysdeps/i386/sub_n.S
fsf/trunk/libc/sysdeps/i386/submul_1.S
fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa.c
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c
fsf/trunk/libc/sysdeps/s390/s390-32/dl-trampoline.S
fsf/trunk/libc/sysdeps/unix/i386/sysdep.S
fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/clone.S
fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/mmap64.S
fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/semtimedop.S
fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/sysdep.h
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri Feb 22 00:01:56 2013
@@ -1,3 +1,378 @@
+2013-02-21 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #13550]
+ * sysdeps/i386/bp-asm.h: Remove file.
+ * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (S2): Likewise.
+ (SIZE): Likewise.
+ (__mpn_add_n): Do not use BP_SYM
+ * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (SIZE): Likewise.
+ (__mpn_addmul_1): Do not use BP_SYM
+ * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (SIGMSK): Likewise.
+ (_setjmp): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (SIGMSK): Likewise.
+ (setjmp): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (__frexp): Do not use BP_SYM.
+ (frexp): Likewise.
+ * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (__frexpf): Do not use BP_SYM.
+ (frexpf): Likewise.
+ * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (__frexpl): Do not use BP_SYM.
+ (frexpl): Likewise.
+ * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (__remquo): Do not use BP_SYM.
+ (remquo): Likewise.
+ * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (__remquof): Do not use BP_SYM.
+ (remquof): Likewise.
+ * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (__remquol): Do not use BP_SYM.
+ (remquol): Likewise.
+ * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (SRC): Likewise.
+ (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
+ * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (strlen): Do not use BP_SYM.
+ * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (S2): Likewise.
+ (SIZE): Likewise.
+ (__mpn_add_n): Do not use BP_SYM.
+ * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (SIZE): Likewise.
+ (__mpn_addmul_1): Do not use BP_SYM.
+ * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
+ weak_alias.
+ (bzero): Likewise.
+ * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S): Likewise.
+ (SIZE): Likewise.
+ (__mpn_lshift): Do not use BP_SYM.
+ * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (SRC): Likewise.
+ (LEN): Likewise.
+ (memcpy): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
+ libc_hidden_def and weak_alias.
+ (mempcpy): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (LEN): Likewise.
+ [!BZERO_P] (CHR): Likewise.
+ (memset): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (SIZE): Likewise.
+ (__mpn_mul_1): Do not use BP_SYM.
+ * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S): Likewise.
+ (SIZE): Likewise.
+ (__mpn_rshift): Do not use BP_SYM.
+ * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (CHR): Likewise.
+ (strchr): Likewise. Do not use BP_SYM.
+ (index): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (SRC): Likewise.
+ (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
+ * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (strlen): Do not use BP_SYM.
+ * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (S2): Likewise.
+ (SIZE): Likewise.
+ (__mpn_sub_n): Do not use BP_SYM.
+ * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (SIZE): Likewise.
+ (__mpn_submul_1): Do not use BP_SYM.
+ * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (S2): Likewise.
+ (SIZE): Likewise.
+ (__mpn_add_n): Do not use BP_SYM.
+ * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
+ weak_alias.
+ (bzero): Likewise.
+ * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (BLK2): Likewise.
+ (LEN): Likewise.
+ (memcmp): Do not use BP_SYM.
+ (bcmp): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (SRC): Likewise.
+ (LEN): Likewise.
+ (memcpy): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (SRC): Likewise.
+ (LEN): Likewise.
+ (memmove): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (SRC): Likewise.
+ (LEN): Likewise.
+ (__mempcpy): Likewise. Do not use BP_SYM.
+ (mempcpy): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (LEN): Likewise.
+ [!BZERO_P] (CHR): Likewise.
+ (memset): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR2): Likewise.
+ (strcmp): Do not use BP_SYM.
+ * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (DELIM): Likewise.
+ [USE_AS_STRTOK_R] (SAVE): Likewise.
+ (FUNCTION): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
+ aliases.
+ (strtok_r): Likewise.
+ (__GI___strtok_r): Likewise.
+ * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S): Likewise.
+ (SIZE): Likewise.
+ (__mpn_lshift): Do not use BP_SYM.
+ * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (CHR): Likewise.
+ (__memchr): Do not use BP_SYM.
+ (memchr): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (BLK2): Likewise.
+ (LEN): Likewise.
+ (memcmp): Do not use BP_SYM.
+ (bcmp): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (SIZE): Likewise.
+ (__mpn_mul_1): Do not use BP_SYM.
+ * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (CHR): Likewise.
+ (__rawmemchr): Do not use BP_SYM.
+ (rawmemchr): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S): Likewise.
+ (SIZE): Likewise.
+ (__mpn_rshift): Do not use BP_SYM.
+ * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (SIGMSK): Likewise.
+ (__sigsetjmp): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/start.S: Do not include "bp-sym.h".
+ (_start): Do not use BP_SYM.
+ * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (SRC): Likewise.
+ (__stpcpy): Likewise. Do not use BP_SYM.
+ (stpcpy): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (DEST): Likewise.
+ (SRC): Likewise.
+ (LEN): Likewise.
+ (__stpncpy): Likewise. Do not use BP_SYM.
+ (stpncpy): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (CHR): Likewise.
+ (strchr): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (CHR): Likewise.
+ (__strchrnul): Likewise. Do not use BP_SYM.
+ (strchrnul): Do not use BP_SYM in weak_alias.
+ * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STOP): Likewise.
+ (strcspn): Do not use BP_SYM.
+ * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (STOP): Likewise.
+ (strpbrk): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (CHR): Likewise.
+ (strrchr): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (SKIP): Likewise.
+ (strspn): Do not use BP_SYM.
+ * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (STR): Likewise.
+ (DELIM): Likewise.
+ (SAVE): Likewise.
+ (FUNCTION): Likewise. Do not use BP_SYM.
+ * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
+ aliases.
+ (strtok_r): Likewise.
+ (__GI___strtok_r): Likewise.
+ * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (S2): Likewise.
+ (SIZE): Likewise.
+ (__mpn_sub_n): Do not use BP_SYM.
+ * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
+ "bp-asm.h".
+ (PARMS): Do not use macros from bp-asm.h.
+ (S1): Likewise.
+ (SIZE): Likewise.
+ (__mpn_submul_1): Do not use BP_SYM.
+ * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
+ <bp-sym.h>.
+ * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
+ and <bp-asm.h>.
+ (PARMS): Do not use macros from bp-asm.h.
+ (FLAGS): Likewise.
+ (PTID): Likewise.
+ (TLS): Likewise.
+ (CTID): Likewise.
+ (__clone): Do not use BP_SYM.
+ (clone): Do not use BP_SYM in weak_alias.
+ * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
+ and <bp-asm.h>.
+ (PARMS): Do not use macros from bp-asm.h.
+ (LEN): Likewise.
+ (__mmap64): Do not use BP_SYM.
+ (mmap64): Do not use BP_SYM in weak_alias.
+ * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
+ <bp-sym.h> and <bp-asm.h>.
+ (PARMS): Do not use macros from bp-asm.h.
+ (__posix_fadvise64_l64): Do not use BP_SYM.
+ * sysdeps/unix/sysv/linux/i386/semtimedop.S
+ (PARMS): Do not use macros from bp-asm.h.
+ (NSOPS): Likewise.
+ (semtimedop): Do not use BP_SYM.
+ * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
+ and <bp-asm.h>.
+
+2013-02-21 Allan McRae <allan@xxxxxxxxxxxxx>
+
+ * manual/message.texi (Charset conversion in gettext):
+ Move @end statement to beginning of line.
+
+2013-02-21 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
+ static.
+ * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
+ Likewise.
+
+ * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
+ (denorm): Likewise.
+ * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
+ * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
+
+2013-02-21 Andreas Krebbel <Andreas.Krebbel@xxxxxxxxxx>
+
+ * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
+ tail-call to the resolved function if pltexit isn't needed.
+
+2013-02-21 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
+ or Y being zero as being unlikely.
+ * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
+ Likewise.
+
2013-02-20 Carlos O'Donell <carlos@xxxxxxxxxx>
* manual/nss.texi (System Databases and Name Service Switch):
Modified: fsf/trunk/libc/manual/message.texi
==============================================================================
--- fsf/trunk/libc/manual/message.texi (original)
+++ fsf/trunk/libc/manual/message.texi Fri Feb 22 00:01:56 2013
@@ -1441,7 +1441,8 @@
allocated internally in the function and must not be changed by the
user. If the system went out of core during the execution of
@code{bind_textdomain_codeset}, the return value is @code{NULL} and the
-global variable @var{errno} is set accordingly. @end deftypefun
+global variable @var{errno} is set accordingly.
+@end deftypefun
@node GUI program problems
Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Fri Feb 22 00:01:56 2013
@@ -1,3 +1,16 @@
+2013-02-21 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/sparc/lowlevellock.h
+ (FUTEX_WAIT_REQUEUE_PI): Define.
+ (FUTEX_CMP_REQUEUE_PI): Likewise.
+ (lll_futex_wait_requeue_pi): Likewise.
+ (lll_futex_timed_wait_requeue_pi): Likewise.
+ (lll_futex_cmp_requeue_pi): Likewise.
+
+2013-02-21 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/fork.c: Fix comment typo.
+
2013-02-18 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
* sysdeps/pthread/tst-timer.c: Include stdlib.h for declaration
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/fork.c
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/fork.c (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/fork.c Fri Feb 22 00:01:56 2013
@@ -35,7 +35,7 @@
-/* The single linked list of all currently registered for handlers. */
+/* The single linked list of all currently registered fork handlers. */
struct fork_handler *__fork_handlers;
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h Fri Feb 22 00:01:56 2013
@@ -37,6 +37,8 @@
#define FUTEX_TRYLOCK_PI 8
#define FUTEX_WAIT_BITSET 9
#define FUTEX_WAKE_BITSET 10
+#define FUTEX_WAIT_REQUEUE_PI 11
+#define FUTEX_CMP_REQUEUE_PI 12
#define FUTEX_PRIVATE_FLAG 128
#define FUTEX_CLOCK_REALTIME 256
@@ -157,6 +159,34 @@
})
#endif
+/* Priority Inheritance support. */
+#define lll_futex_wait_requeue_pi(futexp, val, mutex, private) \
+ lll_futex_timed_wait_requeue_pi (futexp, val, NULL, 0, mutex, private)
+
+#define lll_futex_timed_wait_requeue_pi(futexp, val, timespec, clockbit, \
+ mutex, private) \
+ ({ \
+ INTERNAL_SYSCALL_DECL (__err); \
+ long int __ret; \
+ int __op = FUTEX_WAIT_REQUEUE_PI | clockbit; \
+ \
+ __ret = INTERNAL_SYSCALL (futex, __err, 5, (futexp), \
+ __lll_private_flag (__op, private), \
+ (val), (timespec), mutex); \
+ INTERNAL_SYSCALL_ERROR_P (__ret, __err) ? -__ret : __ret; \
+ })
+
+#define lll_futex_cmp_requeue_pi(futexp, nr_wake, nr_move, mutex, val, priv) \
+ ({ \
+ INTERNAL_SYSCALL_DECL (__err); \
+ long int __ret; \
+ \
+ __ret = INTERNAL_SYSCALL (futex, __err, 6, (futexp), \
+ __lll_private_flag (FUTEX_CMP_REQUEUE_PI, priv),\
+ (nr_wake), (nr_move), (mutex), (val)); \
+ INTERNAL_SYSCALL_ERROR_P (__ret, __err); \
+ })
+
static inline int
__attribute__ ((always_inline))
__lll_trylock (int *futex)
Modified: fsf/trunk/libc/ports/ChangeLog.alpha
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.alpha (original)
+++ fsf/trunk/libc/ports/ChangeLog.alpha Fri Feb 22 00:01:56 2013
@@ -1,3 +1,17 @@
+2013-02-19 Richard Henderson <rth@xxxxxxxxxx>
+
+ [BZ #14920]
+ * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
+ (FUTEX_WAIT_REQUEUE_PI): Define.
+ (FUTEX_CMP_REQUEUE_PI): Likewise.
+ (lll_futex_wait_requeue_pi): Likewise.
+ (lll_futex_timed_wait_requeue_pi): Likewise.
+ (lll_futex_cmp_requeue_pi): Likewise.
+
+2013-02-20 Richard Henderson <rth@xxxxxxxxxx>
+
+ * sysdeps/unix/alpha/sysdep.h: Include <errno.h>.
+
2013-02-18 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
* sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Add
Modified: fsf/trunk/libc/ports/sysdeps/unix/alpha/sysdep.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/alpha/sysdep.h (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/alpha/sysdep.h Fri Feb 22 00:01:56 2013
@@ -160,6 +160,9 @@
#define MOVE(x,y) mov x,y
#else /* !ASSEMBLER */
+
+/* In order to get __set_errno() definition in INLINE_SYSCALL. */
+#include <errno.h>
/* ??? Linux needs to be able to override INLINE_SYSCALL for one
particular special case. Make this easy. */
Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h Fri Feb 22 00:01:56 2013
@@ -38,6 +38,8 @@
#define FUTEX_TRYLOCK_PI 8
#define FUTEX_WAIT_BITSET 9
#define FUTEX_WAKE_BITSET 10
+#define FUTEX_WAIT_REQUEUE_PI 11
+#define FUTEX_CMP_REQUEUE_PI 12
#define FUTEX_PRIVATE_FLAG 128
#define FUTEX_CLOCK_REALTIME 256
@@ -143,8 +145,31 @@
INTERNAL_SYSCALL_ERROR_P (__ret, __err); \
})
-
-
+/* Priority Inheritance support. */
+#define lll_futex_wait_requeue_pi(futexp, val, mutex, private) \
+ lll_futex_timed_wait_requeue_pi (futexp, val, NULL, 0, mutex, private)
+
+#define lll_futex_timed_wait_requeue_pi(futexp, val, timespec, clockbit, \
+ mutex, private) \
+ ({ \
+ INTERNAL_SYSCALL_DECL (__err); \
+ int __op = FUTEX_WAIT_REQUEUE_PI | clockbit; \
+ \
+ INTERNAL_SYSCALL (futex, __err, 5, (futexp), \
+ __lll_private_flag (__op, private), \
+ (val), (timespec), mutex); \
+ })
+
+#define lll_futex_cmp_requeue_pi(futexp, nr_wake, nr_move, mutex, val, priv) \
+ ({ \
+ INTERNAL_SYSCALL_DECL (__err); \
+ long int __ret; \
+ \
+ __ret = INTERNAL_SYSCALL (futex, __err, 6, (futexp), \
+ __lll_private_flag (FUTEX_CMP_REQUEUE_PI, priv),\
+ (nr_wake), (nr_move), (mutex), (val)); \
+ INTERNAL_SYSCALL_ERROR_P (__ret, __err); \
+ })
static inline int __attribute__((always_inline))
__lll_trylock(int *futex)
Modified: fsf/trunk/libc/sysdeps/i386/add_n.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/add_n.S (original)
+++ fsf/trunk/libc/sysdeps/i386/add_n.S Fri Feb 22 00:01:56 2013
@@ -19,17 +19,15 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+8 /* space for 2 saved regs */
+#define PARMS 4+8 /* space for 2 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define S2 S1+PTR_SIZE
-#define SIZE S2+PTR_SIZE
+#define S1 RES+4
+#define S2 S1+4
+#define SIZE S2+4
.text
-ENTRY (BP_SYM (__mpn_add_n))
+ENTRY (__mpn_add_n)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -110,4 +108,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_add_n))
+END (__mpn_add_n)
Modified: fsf/trunk/libc/sysdeps/i386/addmul_1.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/addmul_1.S (original)
+++ fsf/trunk/libc/sysdeps/i386/addmul_1.S Fri Feb 22 00:01:56 2013
@@ -19,13 +19,11 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define SIZE S1+PTR_SIZE
+#define S1 RES+4
+#define SIZE S1+4
#define S2LIMB SIZE+4
#define res_ptr edi
@@ -34,7 +32,7 @@
#define s2_limb ebx
.text
-ENTRY (BP_SYM (__mpn_addmul_1))
+ENTRY (__mpn_addmul_1)
pushl %res_ptr
cfi_adjust_cfa_offset (4)
@@ -85,4 +83,4 @@
cfi_restore (res_ptr)
ret
-END (BP_SYM (__mpn_addmul_1))
+END (__mpn_addmul_1)
Removed: fsf/trunk/libc/sysdeps/i386/bp-asm.h
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/bp-asm.h (original)
+++ fsf/trunk/libc/sysdeps/i386/bp-asm.h (removed)
@@ -1,60 +1,0 @@
-/* Bounded-pointer definitions for x86 assembler.
- Copyright (C) 2000-2013 Free Software Foundation, Inc.
- Contributed by Greg McGary <greg@xxxxxxxxxx>
- This file is part of the GNU C Library. Its master source is NOT part of
- the C library, however. The master source lives in the GNU MP Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#ifndef _bp_asm_h_
-# define _bp_asm_h_ 1
-
-# if __ASSEMBLER__
-
-# if __BOUNDED_POINTERS__
-
-/* Bounded pointers occupy three words. */
-# define PTR_SIZE 12
-/* Bounded pointer return values are passed back through a hidden
- argument that points to caller-allocate space. The hidden arg
- occupies one word on the stack. */
-# define RTN_SIZE 4
-/* Although the caller pushes the hidden arg, the callee is
- responsible for popping it. */
-# define RET_PTR ret $RTN_SIZE
-/* Stack space overhead of procedure-call linkage: return address and
- frame pointer. */
-# define LINKAGE 8
-/* Stack offset of return address after calling ENTER. */
-# define PCOFF 4
-
-# else /* !__BOUNDED_POINTERS__ */
-
-/* Unbounded pointers occupy one word. */
-# define PTR_SIZE 4
-/* Unbounded pointer return values are passed back in the register %eax. */
-# define RTN_SIZE 0
-/* Use simple return instruction for unbounded pointer values. */
-# define RET_PTR ret
-/* Stack space overhead of procedure-call linkage: return address only. */
-# define LINKAGE 4
-/* Stack offset of return address after calling ENTER. */
-# define PCOFF 0
-
-# endif /* !__BOUNDED_POINTERS__ */
-
-# endif /* __ASSEMBLER__ */
-
-#endif /* _bp_asm_h_ */
Modified: fsf/trunk/libc/sysdeps/i386/bsd-_setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/bsd-_setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/bsd-_setjmp.S Fri Feb 22 00:01:56 2013
@@ -22,15 +22,13 @@
#include <sysdep.h>
#include <jmpbuf-offsets.h>
-#include "bp-sym.h"
-#include "bp-asm.h"
#include <stap-probe.h>
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define JMPBUF PARMS
-#define SIGMSK JMPBUF+PTR_SIZE
+#define SIGMSK JMPBUF+4
-ENTRY (BP_SYM (_setjmp))
+ENTRY (_setjmp)
xorl %eax, %eax
movl JMPBUF(%esp), %edx
@@ -44,7 +42,7 @@
PTR_MANGLE (%ecx)
#endif
movl %ecx, (JB_SP*4)(%edx)
- movl PCOFF(%esp), %ecx /* Save PC we are returning to now. */
+ movl 0(%esp), %ecx /* Save PC we are returning to now. */
LIBC_PROBE (setjmp, 3, 4@%edx, -4@$0, 4@%ecx)
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
@@ -54,5 +52,5 @@
movl %eax, JB_SIZE(%edx) /* No signal mask set. */
ret
-END (BP_SYM (_setjmp))
+END (_setjmp)
libc_hidden_def (_setjmp)
Modified: fsf/trunk/libc/sysdeps/i386/bsd-setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/bsd-setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/bsd-setjmp.S Fri Feb 22 00:01:56 2013
@@ -22,15 +22,13 @@
#include <sysdep.h>
#include <jmpbuf-offsets.h>
-#include "bp-sym.h"
-#include "bp-asm.h"
#include <stap-probe.h>
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define JMPBUF PARMS
-#define SIGMSK JMPBUF+PTR_SIZE
+#define SIGMSK JMPBUF+4
-ENTRY (BP_SYM (setjmp))
+ENTRY (setjmp)
/* Note that we have to use a non-exported symbol in the next
jump since otherwise gas will emit it as a jump through the
PLT which is what we cannot use here. */
@@ -46,7 +44,7 @@
PTR_MANGLE (%ecx)
#endif
movl %ecx, (JB_SP*4)(%eax)
- movl PCOFF(%esp), %ecx /* Save PC we are returning to now. */
+ movl 0(%esp), %ecx /* Save PC we are returning to now. */
LIBC_PROBE (setjmp, 3, 4@%eax, -4@$1, 4@%ecx)
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
@@ -59,10 +57,10 @@
cfi_adjust_cfa_offset (4)
pushl 8(%esp)
cfi_adjust_cfa_offset (4)
- call BP_SYM (__sigjmp_save)
+ call __sigjmp_save
popl %ecx
cfi_adjust_cfa_offset (-4)
popl %edx
cfi_adjust_cfa_offset (-4)
ret
-END (BP_SYM (setjmp))
+END (setjmp)
Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_frexp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_frexp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_frexp.S Fri Feb 22 00:01:56 2013
@@ -18,8 +18,6 @@
<http://www.gnu.org/licenses/>. */
#include <machine/asm.h>
-#include "bp-sym.h"
-#include "bp-asm.h"
.section .rodata
@@ -34,13 +32,13 @@
#define MO(op) op
#endif
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define VAL0 PARMS
#define VAL1 VAL0+4
#define EXPP VAL1+4
.text
-ENTRY (BP_SYM (__frexp))
+ENTRY (__frexp)
movl VAL0(%esp), %ecx
movl VAL1(%esp), %eax
@@ -81,5 +79,5 @@
movl %ecx, (%eax)
ret
-END (BP_SYM (__frexp))
-weak_alias (BP_SYM (__frexp), BP_SYM (frexp))
+END (__frexp)
+weak_alias (__frexp, frexp)
Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_frexpf.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_frexpf.S (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_frexpf.S Fri Feb 22 00:01:56 2013
@@ -18,8 +18,6 @@
<http://www.gnu.org/licenses/>. */
#include <machine/asm.h>
-#include "bp-sym.h"
-#include "bp-asm.h"
.section .rodata
@@ -34,12 +32,12 @@
#define MO(op) op
#endif
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define VAL PARMS
#define EXPP VAL+4
.text
-ENTRY (BP_SYM (__frexpf))
+ENTRY (__frexpf)
movl VAL(%esp), %eax
xorl %ecx, %ecx
@@ -78,5 +76,5 @@
movl %ecx, (%eax)
ret
-END (BP_SYM (__frexpf))
-weak_alias (BP_SYM (__frexpf), BP_SYM (frexpf))
+END (__frexpf)
+weak_alias (__frexpf, frexpf)
Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_frexpl.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_frexpl.S (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_frexpl.S Fri Feb 22 00:01:56 2013
@@ -18,8 +18,6 @@
<http://www.gnu.org/licenses/>. */
#include <machine/asm.h>
-#include "bp-sym.h"
-#include "bp-asm.h"
.section .rodata
@@ -34,14 +32,14 @@
#define MO(op) op
#endif
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define VAL0 PARMS
#define VAL1 VAL0+4
#define VAL2 VAL1+4
#define EXPP VAL2+4
.text
-ENTRY (BP_SYM (__frexpl))
+ENTRY (__frexpl)
movl VAL0(%esp), %ecx
movl VAL2(%esp), %eax
@@ -83,5 +81,5 @@
movl %ecx, (%eax)
ret
-END (BP_SYM (__frexpl))
-weak_alias (BP_SYM (__frexpl), BP_SYM (frexpl))
+END (__frexpl)
+weak_alias (__frexpl, frexpl)
Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_remquo.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_remquo.S (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_remquo.S Fri Feb 22 00:01:56 2013
@@ -5,16 +5,14 @@
*/
#include <machine/asm.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 DVDND PARMS
#define DVSOR DVDND+8
#define QUOP DVSOR+8
.text
-ENTRY (BP_SYM (__remquo))
+ENTRY (__remquo)
fldl DVSOR(%esp)
fldl DVDND(%esp)
@@ -43,5 +41,5 @@
1: movl %eax, (%ecx)
ret
-END (BP_SYM (__remquo))
-weak_alias (BP_SYM (__remquo), BP_SYM (remquo))
+END (__remquo)
+weak_alias (__remquo, remquo)
Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_remquof.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_remquof.S (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_remquof.S Fri Feb 22 00:01:56 2013
@@ -5,16 +5,14 @@
*/
#include <machine/asm.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 DVDND PARMS
#define DVSOR DVDND+4
#define QUOP DVSOR+4
.text
-ENTRY (BP_SYM (__remquof))
+ENTRY (__remquof)
flds DVSOR(%esp)
flds DVDND(%esp)
@@ -43,5 +41,5 @@
1: movl %eax, (%ecx)
ret
-END (BP_SYM (__remquof))
-weak_alias (BP_SYM (__remquof), BP_SYM (remquof))
+END (__remquof)
+weak_alias (__remquof, remquof)
Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_remquol.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_remquol.S (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_remquol.S Fri Feb 22 00:01:56 2013
@@ -5,16 +5,14 @@
*/
#include <machine/asm.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 DVDND PARMS
#define DVSOR DVDND+12
#define QUOP DVSOR+12
.text
-ENTRY (BP_SYM (__remquol))
+ENTRY (__remquol)
fldt DVSOR(%esp)
fldt DVDND(%esp)
@@ -43,5 +41,5 @@
1: movl %eax, (%ecx)
ret
-END (BP_SYM (__remquol))
-weak_alias (BP_SYM (__remquol), BP_SYM (remquol))
+END (__remquol)
+weak_alias (__remquol, remquol)
Modified: fsf/trunk/libc/sysdeps/i386/i486/strcat.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i486/strcat.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i486/strcat.S Fri Feb 22 00:01:56 2013
@@ -21,16 +21,14 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+4 /* space for 1 saved reg */
+
+#define PARMS 4+4 /* space for 1 saved reg */
#define RTN PARMS
-#define DEST RTN+RTN_SIZE
-#define SRC DEST+PTR_SIZE
+#define DEST RTN
+#define SRC DEST+4
.text
-ENTRY (BP_SYM (strcat))
+ENTRY (strcat)
pushl %edi /* Save callee-safe register. */
cfi_adjust_cfa_offset (4)
@@ -257,12 +255,11 @@
movb %ah, 3(%ecx,%edx) /* store fourth byte of last word */
-L(8): /* GKM FIXME: check high bounds */
- movl DEST(%esp), %eax /* start address of destination is result */
+L(8): movl DEST(%esp), %eax /* start address of destination is result */
popl %edi /* restore saved register */
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
-END (BP_SYM (strcat))
+ ret
+END (strcat)
libc_hidden_builtin_def (strcat)
Modified: fsf/trunk/libc/sysdeps/i386/i486/strlen.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i486/strlen.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i486/strlen.S Fri Feb 22 00:01:56 2013
@@ -20,14 +20,12 @@
#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
.text
-ENTRY (BP_SYM (strlen))
+ENTRY (strlen)
movl STR(%esp), %ecx
movl %ecx, %eax /* duplicate it */
@@ -130,5 +128,5 @@
L(2): subl STR(%esp), %eax /* compute difference to string start */
ret
-END (BP_SYM (strlen))
+END (strlen)
libc_hidden_builtin_def (strlen)
Modified: fsf/trunk/libc/sysdeps/i386/i586/add_n.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/add_n.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/add_n.S Fri Feb 22 00:01:56 2013
@@ -19,17 +19,15 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define S2 S1+PTR_SIZE
-#define SIZE S2+PTR_SIZE
+#define S1 RES+4
+#define S2 S1+4
+#define SIZE S2+4
.text
-ENTRY (BP_SYM (__mpn_add_n))
+ENTRY (__mpn_add_n)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -142,4 +140,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_add_n))
+END (__mpn_add_n)
Modified: fsf/trunk/libc/sysdeps/i386/i586/addmul_1.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/addmul_1.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/addmul_1.S Fri Feb 22 00:01:56 2013
@@ -19,13 +19,11 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define SIZE S1+PTR_SIZE
+#define S1 RES+4
+#define SIZE S1+4
#define S2LIMB SIZE+4
#define res_ptr edi
@@ -34,7 +32,7 @@
#define s2_limb ebx
.text
-ENTRY (BP_SYM (__mpn_addmul_1))
+ENTRY (__mpn_addmul_1)
pushl %res_ptr
cfi_adjust_cfa_offset (4)
@@ -93,4 +91,4 @@
ret
#undef size
-END (BP_SYM (__mpn_addmul_1))
+END (__mpn_addmul_1)
Modified: fsf/trunk/libc/sysdeps/i386/i586/bzero.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/bzero.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/bzero.S Fri Feb 22 00:01:56 2013
@@ -1,3 +1,3 @@
#define memset __bzero
#include <sysdeps/i386/i586/memset.S>
-weak_alias (BP_SYM (__bzero), BP_SYM (bzero))
+weak_alias (__bzero, bzero)
Modified: fsf/trunk/libc/sysdeps/i386/i586/lshift.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/lshift.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/lshift.S Fri Feb 22 00:01:56 2013
@@ -18,17 +18,15 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S RES+PTR_SIZE
-#define SIZE S+PTR_SIZE
+#define S RES+4
+#define SIZE S+4
#define CNT SIZE+4
.text
-ENTRY (BP_SYM (__mpn_lshift))
+ENTRY (__mpn_lshift)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -254,4 +252,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_lshift))
+END (__mpn_lshift)
Modified: fsf/trunk/libc/sysdeps/i386/i586/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/memcpy.S Fri Feb 22 00:01:56 2013
@@ -19,19 +19,17 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
/* BEWARE: `#ifdef memcpy' means that memcpy is redefined as `mempcpy',
and the return value is the byte after the last one copied in
the destination. */
#define MEMPCPY_P (defined memcpy)
-#define PARMS LINKAGE+8 /* space for 2 saved regs */
+#define PARMS 4+8 /* space for 2 saved regs */
#define RTN PARMS
-#define DEST RTN+RTN_SIZE
-#define SRC DEST+PTR_SIZE
-#define LEN SRC+PTR_SIZE
+#define DEST RTN
+#define SRC DEST+4
+#define LEN SRC+4
.text
#if defined PIC && !defined NOT_IN_libc
@@ -41,7 +39,7 @@
jb HIDDEN_JUMPTARGET (__chk_fail)
END (__memcpy_chk)
#endif
-ENTRY (BP_SYM (memcpy))
+ENTRY (memcpy)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -124,8 +122,8 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
-END (BP_SYM (memcpy))
+ ret
+END (memcpy)
#if !MEMPCPY_P
libc_hidden_builtin_def (memcpy)
#endif
Modified: fsf/trunk/libc/sysdeps/i386/i586/mempcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/mempcpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/mempcpy.S Fri Feb 22 00:01:56 2013
@@ -2,6 +2,6 @@
#define __memcpy_chk __mempcpy_chk
#include <sysdeps/i386/i586/memcpy.S>
-libc_hidden_def (BP_SYM (__mempcpy))
-weak_alias (BP_SYM (__mempcpy), BP_SYM (mempcpy))
+libc_hidden_def (__mempcpy)
+weak_alias (__mempcpy, mempcpy)
libc_hidden_builtin_def (mempcpy)
Modified: fsf/trunk/libc/sysdeps/i386/i586/memset.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/memset.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/memset.S Fri Feb 22 00:01:56 2013
@@ -20,19 +20,17 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
/* BEWARE: `#ifdef memset' means that memset is redefined as `bzero' */
#define BZERO_P (defined memset)
-#define PARMS LINKAGE+4 /* space for 1 saved reg */
+#define PARMS 4+4 /* space for 1 saved reg */
#define RTN PARMS
-#define DEST RTN+RTN_SIZE
+#define DEST RTN
#if BZERO_P
-# define LEN DEST+PTR_SIZE
+# define LEN DEST+4
#else
-# define CHR DEST+PTR_SIZE
+# define CHR DEST+4
# define LEN CHR+4
#endif
@@ -44,7 +42,7 @@
jb HIDDEN_JUMPTARGET (__chk_fail)
END (__memset_chk)
#endif
-ENTRY (BP_SYM (memset))
+ENTRY (memset)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -117,7 +115,7 @@
#if BZERO_P
ret
#else
- RET_PTR
+ ret
#endif
-END (BP_SYM (memset))
+END (memset)
libc_hidden_builtin_def (memset)
Modified: fsf/trunk/libc/sysdeps/i386/i586/mul_1.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/mul_1.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/mul_1.S Fri Feb 22 00:01:56 2013
@@ -19,13 +19,11 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define SIZE S1+PTR_SIZE
+#define S1 RES+4
+#define SIZE S1+4
#define S2LIMB SIZE+4
#define res_ptr edi
@@ -34,7 +32,7 @@
#define s2_limb ebx
.text
-ENTRY (BP_SYM (__mpn_mul_1))
+ENTRY (__mpn_mul_1)
pushl %res_ptr
cfi_adjust_cfa_offset (4)
@@ -89,4 +87,4 @@
ret
#undef size
-END (BP_SYM (__mpn_mul_1))
+END (__mpn_mul_1)
Modified: fsf/trunk/libc/sysdeps/i386/i586/rshift.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/rshift.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/rshift.S Fri Feb 22 00:01:56 2013
@@ -18,17 +18,15 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S RES+PTR_SIZE
-#define SIZE S+PTR_SIZE
+#define S RES+4
+#define SIZE S+4
#define CNT SIZE+4
.text
-ENTRY (BP_SYM (__mpn_rshift))
+ENTRY (__mpn_rshift)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -254,4 +252,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_rshift))
+END (__mpn_rshift)
Modified: fsf/trunk/libc/sysdeps/i386/i586/strchr.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/strchr.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/strchr.S Fri Feb 22 00:01:56 2013
@@ -20,8 +20,6 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
/* This version is especially optimized for the i586 (and following?)
processors. This is mainly done by using the two pipelines. The
@@ -36,13 +34,13 @@
/* The magic value which is used throughout in the whole code. */
#define magic 0xfefefeff
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RTN PARMS
-#define STR RTN+RTN_SIZE
-#define CHR STR+PTR_SIZE
+#define STR RTN
+#define CHR STR+4
.text
-ENTRY (BP_SYM (strchr))
+ENTRY (strchr)
pushl %edi /* Save callee-safe registers. */
cfi_adjust_cfa_offset (-4)
@@ -301,7 +299,7 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
+ ret
cfi_adjust_cfa_offset (16)
cfi_rel_offset (edi, 12)
@@ -343,8 +341,8 @@
L(3): xorl %eax, %eax
jmp L(out)
-END (BP_SYM (strchr))
+END (strchr)
#undef index
-weak_alias (BP_SYM (strchr), BP_SYM (index))
+weak_alias (strchr, index)
libc_hidden_builtin_def (strchr)
Modified: fsf/trunk/libc/sysdeps/i386/i586/strcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/strcpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/strcpy.S Fri Feb 22 00:01:56 2013
@@ -19,13 +19,11 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+12 /* space for 3 saved regs */
+#define PARMS 4+12 /* space for 3 saved regs */
#define RTN PARMS
-#define DEST RTN+RTN_SIZE
-#define SRC DEST+PTR_SIZE
+#define DEST RTN
+#define SRC DEST+4
#ifndef USE_AS_STPCPY
# define STRCPY strcpy
@@ -34,7 +32,7 @@
#define magic 0xfefefeff
.text
-ENTRY (BP_SYM (STRCPY))
+ENTRY (STRCPY)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -149,7 +147,6 @@
L(end): movb %ah, (%edi)
L(end2):
- /* GKM FIXME: check high bounds */
#ifdef USE_AS_STPCPY
movl %edi, %eax
#else
@@ -165,8 +162,8 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
-END (BP_SYM (STRCPY))
+ ret
+END (STRCPY)
#ifndef USE_AS_STPCPY
libc_hidden_builtin_def (strcpy)
#endif
Modified: fsf/trunk/libc/sysdeps/i386/i586/strlen.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/strlen.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/strlen.S Fri Feb 22 00:01:56 2013
@@ -20,8 +20,6 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
/* This version is especially optimized for the i586 (and following?)
processors. This is mainly done by using the two pipelines. The
@@ -36,11 +34,11 @@
/* The magic value which is used throughout in the whole code. */
#define magic 0xfefefeff
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define STR PARMS
.text
-ENTRY (BP_SYM (strlen))
+ENTRY (strlen)
movl STR(%esp), %eax
movl $3, %edx /* load mask (= 3) */
@@ -180,5 +178,5 @@
between start and terminating NUL
character */
ret
-END (BP_SYM (strlen))
+END (strlen)
libc_hidden_builtin_def (strlen)
Modified: fsf/trunk/libc/sysdeps/i386/i586/sub_n.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/sub_n.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/sub_n.S Fri Feb 22 00:01:56 2013
@@ -19,17 +19,15 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define S2 S1+PTR_SIZE
-#define SIZE S2+PTR_SIZE
+#define S1 RES+4
+#define S2 S1+4
+#define SIZE S2+4
.text
-ENTRY (BP_SYM (__mpn_sub_n))
+ENTRY (__mpn_sub_n)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -142,4 +140,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_sub_n))
+END (__mpn_sub_n)
Modified: fsf/trunk/libc/sysdeps/i386/i586/submul_1.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i586/submul_1.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i586/submul_1.S Fri Feb 22 00:01:56 2013
@@ -19,13 +19,11 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define SIZE S1+PTR_SIZE
+#define S1 RES+4
+#define SIZE S1+4
#define S2LIMB SIZE+4
#define res_ptr edi
@@ -34,7 +32,7 @@
#define s2_limb ebx
.text
-ENTRY (BP_SYM (__mpn_submul_1))
+ENTRY (__mpn_submul_1)
pushl %res_ptr
cfi_adjust_cfa_offset (4)
@@ -93,4 +91,4 @@
ret
#undef size
-END (BP_SYM (__mpn_submul_1))
+END (__mpn_submul_1)
Modified: fsf/trunk/libc/sysdeps/i386/i686/add_n.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/add_n.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/add_n.S Fri Feb 22 00:01:56 2013
@@ -19,21 +19,19 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+8 /* space for 2 saved regs */
+#define PARMS 4+8 /* space for 2 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define S2 S1+PTR_SIZE
-#define SIZE S2+PTR_SIZE
+#define S1 RES+4
+#define S2 S1+4
+#define SIZE S2+4
.text
#ifdef PIC
L(1): addl (%esp), %eax
ret
#endif
-ENTRY (BP_SYM (__mpn_add_n))
+ENTRY (__mpn_add_n)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -109,4 +107,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_add_n))
+END (__mpn_add_n)
Modified: fsf/trunk/libc/sysdeps/i386/i686/bzero.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/bzero.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/bzero.S Fri Feb 22 00:01:56 2013
@@ -1,3 +1,3 @@
#define memset __bzero
#include <sysdeps/i386/i686/memset.S>
-weak_alias (BP_SYM (__bzero), BP_SYM (bzero))
+weak_alias (__bzero, bzero)
Modified: fsf/trunk/libc/sysdeps/i386/i686/memcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/memcmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/memcmp.S Fri Feb 22 00:01:56 2013
@@ -18,13 +18,11 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+4 /* Preserve EBX. */
+
+#define PARMS 4+4 /* Preserve EBX. */
#define BLK1 PARMS
-#define BLK2 BLK1+PTR_SIZE
-#define LEN BLK2+PTR_SIZE
+#define BLK2 BLK1+4
+#define LEN BLK2+4
#define ENTRANCE pushl %ebx; cfi_adjust_cfa_offset (4); \
cfi_rel_offset (ebx, 0)
#define RETURN popl %ebx; cfi_adjust_cfa_offset (-4); \
@@ -44,7 +42,7 @@
.text
ALIGN (4)
-ENTRY (BP_SYM (memcmp))
+ENTRY (memcmp)
ENTRANCE
movl BLK1(%esp), %eax
@@ -366,7 +364,7 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (esi)
RETURN
-END (BP_SYM (memcmp))
+END (memcmp)
.section .rodata
ALIGN (2)
@@ -406,5 +404,5 @@
#undef bcmp
-weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))
-libc_hidden_builtin_def (BP_SYM (memcmp))
+weak_alias (memcmp, bcmp)
+libc_hidden_builtin_def (memcmp)
Modified: fsf/trunk/libc/sysdeps/i386/i686/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/memcpy.S Fri Feb 22 00:01:56 2013
@@ -20,14 +20,12 @@
#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 RTN PARMS
-#define DEST RTN+RTN_SIZE
-#define SRC DEST+PTR_SIZE
-#define LEN SRC+PTR_SIZE
+#define DEST RTN
+#define SRC DEST+4
+#define LEN SRC+4
.text
#if defined PIC && !defined NOT_IN_libc
@@ -37,7 +35,7 @@
jb HIDDEN_JUMPTARGET (__chk_fail)
END_CHK (__memcpy_chk)
#endif
-ENTRY (BP_SYM (memcpy))
+ENTRY (memcpy)
movl %edi, %eax
movl DEST(%esp), %edi
@@ -81,7 +79,7 @@
movl %edx, %esi
movl DEST(%esp), %eax
- RET_PTR
+ ret
/* When we come here the pointers do not have the same
alignment or the length is too short. No need to optimize for
@@ -96,5 +94,5 @@
2: rep
movsl
jmp .Lend
-END (BP_SYM (memcpy))
+END (memcpy)
libc_hidden_builtin_def (memcpy)
Modified: fsf/trunk/libc/sysdeps/i386/i686/memmove.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/memmove.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/memmove.S Fri Feb 22 00:01:56 2013
@@ -20,22 +20,20 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+4 /* one spilled register */
+#define PARMS 4+4 /* one spilled register */
#define RTN PARMS
.text
#ifdef USE_AS_BCOPY
-# define SRC RTN+RTN_SIZE
-# define DEST SRC+PTR_SIZE
-# define LEN DEST+PTR_SIZE
+# define SRC RTN
+# define DEST SRC+4
+# define LEN DEST+4
#else
-# define DEST RTN+RTN_SIZE
-# define SRC DEST+PTR_SIZE
-# define LEN SRC+PTR_SIZE
+# define DEST RTN
+# define SRC DEST+4
+# define LEN SRC+4
# if defined PIC && !defined NOT_IN_libc
ENTRY_CHK (__memmove_chk)
@@ -46,7 +44,7 @@
# endif
#endif
-ENTRY (BP_SYM (memmove))
+ENTRY (memmove)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -82,7 +80,7 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
+ ret
cfi_adjust_cfa_offset (4)
cfi_rel_offset (edi, 0)
@@ -115,8 +113,8 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
-END (BP_SYM (memmove))
+ ret
+END (memmove)
#ifndef USE_AS_BCOPY
libc_hidden_builtin_def (memmove)
#endif
Modified: fsf/trunk/libc/sysdeps/i386/i686/mempcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/mempcpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/mempcpy.S Fri Feb 22 00:01:56 2013
@@ -20,14 +20,12 @@
#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 RTN PARMS
-#define DEST RTN+RTN_SIZE
-#define SRC DEST+PTR_SIZE
-#define LEN SRC+PTR_SIZE
+#define DEST RTN
+#define SRC DEST+4
+#define LEN SRC+4
.text
#if defined PIC && !defined NOT_IN_libc
@@ -37,7 +35,7 @@
jb HIDDEN_JUMPTARGET (__chk_fail)
END_CHK (__mempcpy_chk)
#endif
-ENTRY (BP_SYM (__mempcpy))
+ENTRY (__mempcpy)
movl LEN(%esp), %ecx
movl %edi, %eax
@@ -60,8 +58,8 @@
movl %edx, %esi
cfi_restore (esi)
- RET_PTR
-END (BP_SYM (__mempcpy))
-libc_hidden_def (BP_SYM (__mempcpy))
-weak_alias (BP_SYM (__mempcpy), BP_SYM (mempcpy))
+ ret
+END (__mempcpy)
+libc_hidden_def (__mempcpy)
+weak_alias (__mempcpy, mempcpy)
libc_hidden_builtin_def (mempcpy)
Modified: fsf/trunk/libc/sysdeps/i386/i686/memset.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/memset.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/memset.S Fri Feb 22 00:01:56 2013
@@ -20,20 +20,18 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
/* BEWARE: `#ifdef memset' means that memset is redefined as `bzero' */
#define BZERO_P (defined memset)
-#define PARMS LINKAGE+4 /* space for 1 saved reg */
+#define PARMS 4+4 /* space for 1 saved reg */
#if BZERO_P
# define DEST PARMS
-# define LEN DEST+PTR_SIZE
+# define LEN DEST+4
#else
# define RTN PARMS
-# define DEST RTN+RTN_SIZE
-# define CHR DEST+PTR_SIZE
+# define DEST RTN
+# define CHR DEST+4
# define LEN CHR+4
#endif
@@ -45,7 +43,7 @@
jb HIDDEN_JUMPTARGET (__chk_fail)
END_CHK (__memset_chk)
#endif
-ENTRY (BP_SYM (memset))
+ENTRY (memset)
cld
pushl %edi
@@ -96,9 +94,9 @@
#if BZERO_P
ret
#else
- RET_PTR
+ ret
#endif
-END (BP_SYM (memset))
+END (memset)
libc_hidden_builtin_def (memset)
#if defined PIC && !defined NOT_IN_libc && !BZERO_P
Modified: fsf/trunk/libc/sysdeps/i386/i686/strcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/strcmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/strcmp.S Fri Feb 22 00:01:56 2013
@@ -19,15 +19,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 STR1 PARMS
-#define STR2 STR1+PTR_SIZE
+#define STR2 STR1+4
.text
-ENTRY (BP_SYM (strcmp))
+ENTRY (strcmp)
movl STR1(%esp), %ecx
movl STR2(%esp), %edx
@@ -50,5 +48,5 @@
cmovbl %ecx, %eax
ret
-END (BP_SYM (strcmp))
+END (strcmp)
libc_hidden_builtin_def (strcmp)
Modified: fsf/trunk/libc/sysdeps/i386/i686/strtok.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/strtok.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/strtok.S Fri Feb 22 00:01:56 2013
@@ -20,8 +20,6 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
/* This file can be used for three variants of the strtok function:
@@ -58,15 +56,15 @@
#endif
#if !defined USE_AS_STRTOK_R && defined PIC
-# define PARMS LINKAGE+256+4 /* space for table and saved PIC register */
+# define PARMS 4+256+4 /* space for table and saved PIC register */
#else
-# define PARMS LINKAGE+256 /* space for table */
+# define PARMS 4+256 /* space for table */
#endif
#define RTN PARMS
-#define STR RTN+RTN_SIZE
-#define DELIM STR+PTR_SIZE
-#ifdef USE_AS_STRTOK_R
-# define SAVE DELIM+PTR_SIZE
+#define STR RTN
+#define DELIM STR+4
+#ifdef USE_AS_STRTOK_R
+# define SAVE DELIM+4
#endif
.text
@@ -76,7 +74,7 @@
ret
#endif
-ENTRY (BP_SYM (FUNCTION))
+ENTRY (FUNCTION)
#if !defined USE_AS_STRTOK_R && defined PIC
pushl %ebx /* Save PIC register. */
@@ -233,7 +231,7 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
#endif
- RET_PTR
+ ret
L(returnNULL):
xorl %eax, %eax
@@ -243,4 +241,4 @@
movl %edx, SAVE_PTR
jmp L(epilogue)
-END (BP_SYM (FUNCTION))
+END (FUNCTION)
Modified: fsf/trunk/libc/sysdeps/i386/i686/strtok_r.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/strtok_r.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/strtok_r.S Fri Feb 22 00:01:56 2013
@@ -1,5 +1,5 @@
#define FUNCTION __strtok_r
#define USE_AS_STRTOK_R 1
#include <sysdeps/i386/i686/strtok.S>
-weak_alias (BP_SYM (__strtok_r), BP_SYM (strtok_r))
-strong_alias (BP_SYM (__strtok_r), BP_SYM (__GI___strtok_r))
+weak_alias (__strtok_r, strtok_r)
+strong_alias (__strtok_r, __GI___strtok_r)
Modified: fsf/trunk/libc/sysdeps/i386/lshift.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/lshift.S (original)
+++ fsf/trunk/libc/sysdeps/i386/lshift.S Fri Feb 22 00:01:56 2013
@@ -18,17 +18,15 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+12 /* space for 3 saved regs */
+#define PARMS 4+12 /* space for 3 saved regs */
#define RES PARMS
-#define S RES+PTR_SIZE
-#define SIZE S+PTR_SIZE
+#define S RES+4
+#define SIZE S+4
#define CNT SIZE+4
.text
-ENTRY (BP_SYM (__mpn_lshift))
+ENTRY (__mpn_lshift)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -102,4 +100,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_lshift))
+END (__mpn_lshift)
Modified: fsf/trunk/libc/sysdeps/i386/memchr.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/memchr.S (original)
+++ fsf/trunk/libc/sysdeps/i386/memchr.S Fri Feb 22 00:01:56 2013
@@ -28,17 +28,15 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+8 /* space for 2 saved regs */
+
+#define PARMS 4+8 /* space for 2 saved regs */
#define RTN PARMS
-#define STR RTN+RTN_SIZE
-#define CHR STR+PTR_SIZE
+#define STR RTN
+#define CHR STR+4
#define LEN CHR+4
.text
-ENTRY (BP_SYM (__memchr))
+ENTRY (__memchr)
/* Save callee-safe registers used in this function. */
pushl %esi
@@ -317,8 +315,8 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (esi)
- RET_PTR
-END (BP_SYM (__memchr))
-
-weak_alias (BP_SYM (__memchr), BP_SYM (memchr))
+ ret
+END (__memchr)
+
+weak_alias (__memchr, memchr)
libc_hidden_builtin_def (memchr)
Modified: fsf/trunk/libc/sysdeps/i386/memcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/memcmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/memcmp.S Fri Feb 22 00:01:56 2013
@@ -18,16 +18,14 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+4 /* space for 1 saved reg */
+#define PARMS 4+4 /* space for 1 saved reg */
#define BLK1 PARMS
-#define BLK2 BLK1+PTR_SIZE
-#define LEN BLK2+PTR_SIZE
+#define BLK2 BLK1+4
+#define LEN BLK2+4
.text
-ENTRY (BP_SYM (memcmp))
+ENTRY (memcmp)
pushl %esi /* Save callee-safe registers. */
cfi_adjust_cfa_offset (4)
@@ -68,8 +66,8 @@
cfi_restore (edi)
ret
-END (BP_SYM (memcmp))
+END (memcmp)
#undef bcmp
-weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))
-libc_hidden_builtin_def (BP_SYM (memcmp))
+weak_alias (memcmp, bcmp)
+libc_hidden_builtin_def (memcmp)
Modified: fsf/trunk/libc/sysdeps/i386/mul_1.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/mul_1.S (original)
+++ fsf/trunk/libc/sysdeps/i386/mul_1.S Fri Feb 22 00:01:56 2013
@@ -19,13 +19,11 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define SIZE S1+PTR_SIZE
+#define S1 RES+4
+#define SIZE S1+4
#define S2LIMB SIZE+4
#define res_ptr edi
@@ -34,7 +32,7 @@
#define s2_limb ebx
.text
-ENTRY (BP_SYM (__mpn_mul_1))
+ENTRY (__mpn_mul_1)
pushl %res_ptr
cfi_adjust_cfa_offset (4)
@@ -85,4 +83,4 @@
ret
#undef size
-END (BP_SYM (__mpn_mul_1))
+END (__mpn_mul_1)
Modified: fsf/trunk/libc/sysdeps/i386/rawmemchr.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/rawmemchr.S (original)
+++ fsf/trunk/libc/sysdeps/i386/rawmemchr.S Fri Feb 22 00:01:56 2013
@@ -28,16 +28,14 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+4 /* space for 1 saved reg */
+
+#define PARMS 4+4 /* space for 1 saved reg */
#define RTN PARMS
-#define STR RTN+RTN_SIZE
-#define CHR STR+PTR_SIZE
+#define STR RTN
+#define CHR STR+4
.text
-ENTRY (BP_SYM (__rawmemchr))
+ENTRY (__rawmemchr)
/* Save callee-safe register used in this function. */
pushl %edi
@@ -217,8 +215,8 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
-END (BP_SYM (__rawmemchr))
-
-libc_hidden_def (BP_SYM (__rawmemchr))
-weak_alias (BP_SYM (__rawmemchr), BP_SYM (rawmemchr))
+ ret
+END (__rawmemchr)
+
+libc_hidden_def (__rawmemchr)
+weak_alias (__rawmemchr, rawmemchr)
Modified: fsf/trunk/libc/sysdeps/i386/rshift.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/rshift.S (original)
+++ fsf/trunk/libc/sysdeps/i386/rshift.S Fri Feb 22 00:01:56 2013
@@ -18,17 +18,15 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+12 /* space for 3 saved regs */
+#define PARMS 4+12 /* space for 3 saved regs */
#define RES PARMS
-#define S RES+PTR_SIZE
-#define SIZE S+PTR_SIZE
+#define S RES+4
+#define SIZE S+4
#define CNT SIZE+4
.text
-ENTRY (BP_SYM (__mpn_rshift))
+ENTRY (__mpn_rshift)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -104,4 +102,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_rshift))
+END (__mpn_rshift)
Modified: fsf/trunk/libc/sysdeps/i386/setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/setjmp.S Fri Feb 22 00:01:56 2013
@@ -19,15 +19,13 @@
#include <sysdep.h>
#include <jmpbuf-offsets.h>
#include <asm-syntax.h>
-#include "bp-sym.h"
-#include "bp-asm.h"
#include <stap-probe.h>
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define JMPBUF PARMS
-#define SIGMSK JMPBUF+PTR_SIZE
+#define SIGMSK JMPBUF+4
-ENTRY (BP_SYM (__sigsetjmp))
+ENTRY (__sigsetjmp)
movl JMPBUF(%esp), %eax
@@ -40,7 +38,7 @@
PTR_MANGLE (%ecx)
#endif
movl %ecx, (JB_SP*4)(%eax)
- movl PCOFF(%esp), %ecx /* Save PC we are returning to now. */
+ movl 0(%esp), %ecx /* Save PC we are returning to now. */
LIBC_PROBE (setjmp, 3, 4@%eax, -4@SIGMSK(%esp), 4@%ecx)
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
@@ -56,4 +54,4 @@
/* Make a tail call to __sigjmp_save; it takes the same args. */
jmp __sigjmp_save
#endif
-END (BP_SYM (__sigsetjmp))
+END (__sigsetjmp)
Modified: fsf/trunk/libc/sysdeps/i386/start.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/start.S (original)
+++ fsf/trunk/libc/sysdeps/i386/start.S Fri Feb 22 00:01:56 2013
@@ -52,8 +52,6 @@
NULL
*/
-#include "bp-sym.h"
-
.text
.globl _start
.type _start,@function
@@ -97,11 +95,11 @@
pushl %ecx /* Push second argument: argv. */
pushl %esi /* Push first argument: argc. */
- pushl BP_SYM (main)@GOT(%ebx)
+ pushl main@GOT(%ebx)
/* Call the user's main function, and exit with its value.
But let the libc call main. */
- call BP_SYM (__libc_start_main)@PLT
+ call __libc_start_main@PLT
#else
/* Push address of our own entry points to .fini and .init. */
pushl $__libc_csu_fini
@@ -110,11 +108,11 @@
pushl %ecx /* Push second argument: argv. */
pushl %esi /* Push first argument: argc. */
- pushl $BP_SYM (main)
+ pushl $main
/* Call the user's main function, and exit with its value.
But let the libc call main. */
- call BP_SYM (__libc_start_main)
+ call __libc_start_main
#endif
hlt /* Crash if somehow `exit' does return. */
Modified: fsf/trunk/libc/sysdeps/i386/stpcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/stpcpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/stpcpy.S Fri Feb 22 00:01:56 2013
@@ -23,16 +23,14 @@
#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 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(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)
Modified: fsf/trunk/libc/sysdeps/i386/stpncpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/stpncpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/stpncpy.S Fri Feb 22 00:01:56 2013
@@ -25,17 +25,15 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+4 /* space for 1 saved reg */
+#define PARMS 4+4 /* space for 1 saved reg */
#define RTN PARMS
-#define DEST RTN+RTN_SIZE
-#define SRC DEST+PTR_SIZE
-#define LEN SRC+PTR_SIZE
+#define DEST RTN
+#define SRC DEST+4
+#define LEN SRC+4
.text
-ENTRY (BP_SYM (__stpncpy))
+ENTRY (__stpncpy)
pushl %esi
cfi_adjust_cfa_offset (4)
@@ -142,8 +140,8 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (esi)
- RET_PTR
-END (BP_SYM (__stpncpy))
+ ret
+END (__stpncpy)
-libc_hidden_def (BP_SYM (__stpncpy))
-weak_alias (BP_SYM (__stpncpy), BP_SYM (stpncpy))
+libc_hidden_def (__stpncpy)
+weak_alias (__stpncpy, stpncpy)
Modified: fsf/trunk/libc/sysdeps/i386/strchr.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strchr.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strchr.S Fri Feb 22 00:01:56 2013
@@ -21,16 +21,14 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+4 /* space for 1 saved reg */
+
+#define PARMS 4+4 /* space for 1 saved reg */
#define RTN PARMS
-#define STR RTN+RTN_SIZE
-#define CHR STR+PTR_SIZE
+#define STR RTN
+#define CHR STR+4
.text
-ENTRY (BP_SYM (strchr))
+ENTRY (strchr)
pushl %edi /* Save callee-safe registers used here. */
cfi_adjust_cfa_offset (4)
@@ -245,7 +243,7 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
+ ret
cfi_adjust_cfa_offset (4)
cfi_rel_offset (edi, 0)
@@ -285,8 +283,8 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
-END (BP_SYM (strchr))
-
-weak_alias (BP_SYM (strchr), BP_SYM (index))
+ ret
+END (strchr)
+
+weak_alias (strchr, index)
libc_hidden_builtin_def (strchr)
Modified: fsf/trunk/libc/sysdeps/i386/strchrnul.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strchrnul.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strchrnul.S Fri Feb 22 00:01:56 2013
@@ -22,16 +22,14 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+4 /* space for 1 saved reg */
+
+#define PARMS 4+4 /* space for 1 saved reg */
#define RTN PARMS
-#define STR RTN+RTN_SIZE
-#define CHR STR+PTR_SIZE
+#define STR RTN
+#define CHR STR+4
.text
-ENTRY (BP_SYM (__strchrnul))
+ENTRY (__strchrnul)
pushl %edi /* Save callee-safe registers used here. */
cfi_adjust_cfa_offset (4)
@@ -274,7 +272,7 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
-END (BP_SYM (__strchrnul))
-
-weak_alias (BP_SYM (__strchrnul), BP_SYM (strchrnul))
+ ret
+END (__strchrnul)
+
+weak_alias (__strchrnul, strchrnul)
Modified: fsf/trunk/libc/sysdeps/i386/strcspn.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strcspn.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strcspn.S Fri Feb 22 00:01:56 2013
@@ -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 STOP STR+PTR_SIZE
+#define STOP STR+4
.text
-ENTRY (BP_SYM (strcspn))
+ENTRY (strcspn)
movl STR(%esp), %edx
movl STOP(%esp), %eax
@@ -238,5 +236,5 @@
characters, so compute distance to first
non-valid character */
ret
-END (BP_SYM (strcspn))
+END (strcspn)
libc_hidden_builtin_def (strcspn)
Modified: fsf/trunk/libc/sysdeps/i386/strpbrk.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strpbrk.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strpbrk.S Fri Feb 22 00:01:56 2013
@@ -22,16 +22,14 @@
#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 RTN PARMS
-#define STR RTN+RTN_SIZE
-#define STOP STR+PTR_SIZE
+#define STR RTN
+#define STOP STR+4
.text
-ENTRY (BP_SYM (strpbrk))
+ENTRY (strpbrk)
movl STR(%esp), %edx
movl STOP(%esp), %eax
@@ -240,6 +238,6 @@
jnz L(7) /* no => return pointer */
xorl %eax, %eax
-L(7): RET_PTR
-END (BP_SYM (strpbrk))
+L(7): ret
+END (strpbrk)
libc_hidden_builtin_def (strpbrk)
Modified: fsf/trunk/libc/sysdeps/i386/strrchr.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strrchr.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strrchr.S Fri Feb 22 00:01:56 2013
@@ -21,16 +21,14 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-
-#define PARMS LINKAGE+8 /* space for 2 saved regs */
+
+#define PARMS 4+8 /* space for 2 saved regs */
#define RTN PARMS
-#define STR RTN+RTN_SIZE
-#define CHR STR+PTR_SIZE
+#define STR RTN
+#define CHR STR+4
.text
-ENTRY (BP_SYM (strrchr))
+ENTRY (strrchr)
pushl %edi /* Save callee-safe registers used here. */
cfi_adjust_cfa_offset (4)
@@ -329,8 +327,8 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (edi)
- RET_PTR
-END (BP_SYM (strrchr))
-
-weak_alias (BP_SYM (strrchr), BP_SYM (rindex))
+ ret
+END (strrchr)
+
+weak_alias (strrchr, rindex)
libc_hidden_builtin_def (strrchr)
Modified: fsf/trunk/libc/sysdeps/i386/strspn.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strspn.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strspn.S Fri Feb 22 00:01:56 2013
@@ -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 @@
characters, so compute distance to first
non-valid character */
ret
-END (BP_SYM (strspn))
+END (strspn)
libc_hidden_builtin_def (strspn)
Modified: fsf/trunk/libc/sysdeps/i386/strtok.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strtok.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strtok.S Fri Feb 22 00:01:56 2013
@@ -20,8 +20,6 @@
#include <sysdep.h>
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
/* This file can be used for three variants of the strtok function:
@@ -57,14 +55,14 @@
# define FUNCTION strtok
#endif
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define RTN PARMS
-#define STR RTN+RTN_SIZE
-#define DELIM STR+PTR_SIZE
-#define SAVE DELIM+PTR_SIZE
+#define STR RTN
+#define DELIM STR+4
+#define SAVE DELIM+4
.text
-ENTRY (BP_SYM (FUNCTION))
+ENTRY (FUNCTION)
movl STR(%esp), %edx
movl DELIM(%esp), %eax
@@ -347,7 +345,7 @@
cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
#endif
- RET_PTR
+ ret
L(returnNULL):
xorl %eax, %eax
@@ -357,4 +355,4 @@
movl %edx, SAVE_PTR
jmp L(epilogue)
-END (BP_SYM (FUNCTION))
+END (FUNCTION)
Modified: fsf/trunk/libc/sysdeps/i386/strtok_r.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strtok_r.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strtok_r.S Fri Feb 22 00:01:56 2013
@@ -1,5 +1,5 @@
#define FUNCTION __strtok_r
#define USE_AS_STRTOK_R 1
#include <sysdeps/i386/strtok.S>
-weak_alias (BP_SYM (__strtok_r), BP_SYM (strtok_r))
-strong_alias (BP_SYM (__strtok_r), BP_SYM (__GI___strtok_r))
+weak_alias (__strtok_r, strtok_r)
+strong_alias (__strtok_r, __GI___strtok_r)
Modified: fsf/trunk/libc/sysdeps/i386/sub_n.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/sub_n.S (original)
+++ fsf/trunk/libc/sysdeps/i386/sub_n.S Fri Feb 22 00:01:56 2013
@@ -19,17 +19,15 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+8 /* space for 2 saved regs */
+#define PARMS 4+8 /* space for 2 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define S2 S1+PTR_SIZE
-#define SIZE S2+PTR_SIZE
+#define S1 RES+4
+#define S2 S1+4
+#define SIZE S2+4
.text
-ENTRY (BP_SYM (__mpn_sub_n))
+ENTRY (__mpn_sub_n)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -110,4 +108,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_sub_n))
+END (__mpn_sub_n)
Modified: fsf/trunk/libc/sysdeps/i386/submul_1.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/submul_1.S (original)
+++ fsf/trunk/libc/sysdeps/i386/submul_1.S Fri Feb 22 00:01:56 2013
@@ -19,13 +19,11 @@
#include "sysdep.h"
#include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
-#define PARMS LINKAGE+16 /* space for 4 saved regs */
+#define PARMS 4+16 /* space for 4 saved regs */
#define RES PARMS
-#define S1 RES+PTR_SIZE
-#define SIZE S1+PTR_SIZE
+#define S1 RES+4
+#define SIZE S1+4
#define S2LIMB SIZE+4
#define res_ptr edi
@@ -34,7 +32,7 @@
#define s2_limb ebx
.text
-ENTRY (BP_SYM (__mpn_submul_1))
+ENTRY (__mpn_submul_1)
pushl %edi
cfi_adjust_cfa_offset (4)
@@ -85,4 +83,4 @@
cfi_restore (edi)
ret
-END (BP_SYM (__mpn_submul_1))
+END (__mpn_submul_1)
Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa.c Fri Feb 22 00:01:56 2013
@@ -119,7 +119,7 @@
static void
norm (const mp_no *x, double *y, int p)
{
-#define R RADIXI
+#define R RADIXI
int i;
double a, c, u, v, z[5];
if (p < 5)
@@ -197,7 +197,7 @@
int i, k;
double c, u, z[5];
-#define R RADIXI
+#define R RADIXI
if (EX < -44 || (EX == -44 && X[1] < TWO5))
{
*y = ZERO;
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c Fri Feb 22 00:01:56 2013
@@ -112,7 +112,7 @@
static void
norm (const mp_no *x, double *y, int p)
{
-#define R RADIXI
+#define R RADIXI
long i;
double a, c, u, v, z[5];
if (p < 5)
@@ -599,7 +599,7 @@
double u, zk, zk2;
/* Is z=0? */
- if (X[0] * Y[0] == ZERO)
+ if (__glibc_unlikely (X[0] * Y[0] == ZERO))
{
Z[0] = ZERO;
return;
@@ -782,7 +782,7 @@
- For P > 3: 2.001 * R ^ (1 - P)
*X = 0 is not permissible. */
-void
+static void
__inv (const mp_no *x, mp_no *y, int p)
{
long i;
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c Fri Feb 22 00:01:56 2013
@@ -112,7 +112,7 @@
static void
norm (const mp_no *x, double *y, int p)
{
-#define R RADIXI
+#define R RADIXI
long i;
double a, c, u, v, z[5];
if (p < 5)
@@ -599,7 +599,7 @@
double u, zk, zk2;
/* Is z=0? */
- if (X[0] * Y[0] == ZERO)
+ if (__glibc_unlikely (X[0] * Y[0] == ZERO))
{
Z[0] = ZERO;
return;
@@ -782,7 +782,7 @@
- For P > 3: 2.001 * R ^ (1 - P)
*X = 0 is not permissible. */
-void
+static void
__inv (const mp_no *x, mp_no *y, int p)
{
long i;
Modified: fsf/trunk/libc/sysdeps/s390/s390-32/dl-trampoline.S
==============================================================================
--- fsf/trunk/libc/sysdeps/s390/s390-32/dl-trampoline.S (original)
+++ fsf/trunk/libc/sysdeps/s390/s390-32/dl-trampoline.S Fri Feb 22 00:01:56 2013
@@ -95,16 +95,16 @@
lr %r1,%r2 # function addr returned in r2
icm %r0,15,20(%r12) # load & test framesize
jnm 2f
+
lm %r2,%r6,32(%r12)
ld %f0,56(%r12)
ld %f2,64(%r12)
- basr %r14,%r1 # call resolved function
-1: lr %r15,%r12 # remove stack frame
+ lr %r15,%r12 # remove stack frame
cfi_def_cfa_register (15)
l %r14,16(%r15) # restore registers
l %r12,12(%r15)
- l %r6,8(%r15)
- br %r14
+ br %r1 # tail-call to the resolved function
+
cfi_def_cfa_register (12)
2: jz 4f # framesize == 0 ?
ahi %r0,7 # align framesize to 8
@@ -131,7 +131,13 @@
la %r4,32(%r12) # pointer to struct La_s390_32_regs
la %r5,72(%r12) # pointer to struct La_s390_32_retval
basr %r14,%r1 # call _dl_call_pltexit
- j 1b
+
+ lr %r15,%r12 # remove stack frame
+ cfi_def_cfa_register (15)
+ l %r14,16(%r15) # restore registers
+ l %r12,12(%r15)
+ br %r14
+
6: .long _dl_profile_fixup - 0b
7: .long _dl_call_pltexit - 5b
cfi_endproc
Modified: fsf/trunk/libc/sysdeps/unix/i386/sysdep.S
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/i386/sysdep.S (original)
+++ fsf/trunk/libc/sysdeps/unix/i386/sysdep.S Fri Feb 22 00:01:56 2013
@@ -18,8 +18,6 @@
#include <sysdep.h>
#define _ERRNO_H
#include <bits/errno.h>
-#include <bp-asm.h>
-#include <bp-sym.h>
#ifdef IS_IN_rtld
# include <dl-sysdep.h> /* Defines RTLD_PRIVATE_ERRNO. */
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/clone.S
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/clone.S (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/clone.S Fri Feb 22 00:01:56 2013
@@ -23,20 +23,18 @@
#define _ERRNO_H 1
#include <bits/errno.h>
#include <asm-syntax.h>
-#include <bp-sym.h>
-#include <bp-asm.h>
/* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg,
pid_t *ptid, struct user_desc *tls, pid_t *ctid); */
-#define PARMS LINKAGE /* no space for saved regs */
+#define PARMS 4 /* no space for saved regs */
#define FUNC PARMS
#define STACK FUNC+4
-#define FLAGS STACK+PTR_SIZE
+#define FLAGS STACK+4
#define ARG FLAGS+4
-#define PTID ARG+PTR_SIZE
-#define TLS PTID+PTR_SIZE
-#define CTID TLS+PTR_SIZE
+#define PTID ARG+4
+#define TLS PTID+4
+#define CTID TLS+4
#define __NR_clone 120
#define SYS_clone 120
@@ -45,7 +43,7 @@
#define CLONE_THREAD 0x00010000
.text
-ENTRY (BP_SYM (__clone))
+ENTRY (__clone)
/* Sanity check arguments. */
movl $-EINVAL,%eax
movl FUNC(%esp),%ecx /* no NULL function pointers */
@@ -156,6 +154,6 @@
cfi_endproc;
cfi_startproc
-PSEUDO_END (BP_SYM (__clone))
+PSEUDO_END (__clone)
-weak_alias (BP_SYM (__clone), BP_SYM (clone))
+weak_alias (__clone, clone)
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/mmap64.S
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/mmap64.S (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/mmap64.S Fri Feb 22 00:01:56 2013
@@ -16,8 +16,6 @@
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
-#include <bp-sym.h>
-#include <bp-asm.h>
#include <kernel-features.h>
@@ -25,9 +23,9 @@
#define ENOSYS 38
#define SVRSP 16 /* saved register space */
-#define PARMS LINKAGE+SVRSP /* space for 4 saved regs */
+#define PARMS 4+SVRSP /* space for 4 saved regs */
#define ADDR PARMS
-#define LEN ADDR+PTR_SIZE
+#define LEN ADDR+4
#define PROT LEN+4
#define FLAGS PROT+4
#define FD FLAGS+4
@@ -35,7 +33,7 @@
#define OFFHI OFFLO+4
.text
-ENTRY (BP_SYM (__mmap64))
+ENTRY (__mmap64)
/* Save registers. */
pushl %ebp
@@ -115,6 +113,6 @@
movl $-EINVAL, %eax
jmp SYSCALL_ERROR_LABEL
-PSEUDO_END (BP_SYM (__mmap64))
+PSEUDO_END (__mmap64)
-weak_alias (BP_SYM (__mmap64), BP_SYM (mmap64))
+weak_alias (__mmap64, mmap64)
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S Fri Feb 22 00:01:56 2013
@@ -16,15 +16,13 @@
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
-#include <bp-sym.h>
-#include <bp-asm.h>
#define EINVAL 22
#define ENOSYS 38
#define EOVERFLOW 75
#define SVRSP 16 /* saved register space */
-#define PARMS LINKAGE+SVRSP /* space for 4 saved regs */
+#define PARMS 4+SVRSP /* space for 4 saved regs */
#define FD PARMS
#define OFFLO FD+4
#define OFFHI OFFLO+4
@@ -33,7 +31,7 @@
#define FLAGS LENHI+4
.text
-ENTRY (BP_SYM (__posix_fadvise64_l64))
+ENTRY (__posix_fadvise64_l64)
/* Save registers. */
pushl %ebp
@@ -81,7 +79,7 @@
/* Successful; return the syscall's value. */
ret
-END (BP_SYM (__posix_fadvise64_l64))
+END (__posix_fadvise64_l64)
.section .text.compat, "ax"
ENTRY (__posix_fadvise64_l32)
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/semtimedop.S
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/semtimedop.S (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/semtimedop.S Fri Feb 22 00:01:56 2013
@@ -21,14 +21,14 @@
#define SYSOP_semtimedop 4
#define SVRSP 12 /* saved register space */
-#define PARMS LINKAGE+SVRSP /* space for 3 saved regs */
+#define PARMS 4+SVRSP /* space for 3 saved regs */
#define SEMID PARMS
#define SOPS SEMID+4
-#define NSOPS SOPS+PTR_SIZE
+#define NSOPS SOPS+4
#define TIMEOUT NSOPS+4
.text
-ENTRY (BP_SYM (semtimedop))
+ENTRY (semtimedop)
pushl %ebp
cfi_adjust_cfa_offset (4)
@@ -70,4 +70,4 @@
#ifdef PIC
.align 4
#endif
-PSEUDO_END (BP_SYM (semtimedop))
+PSEUDO_END (semtimedop)
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/sysdep.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/sysdep.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/sysdep.h Fri Feb 22 00:01:56 2013
@@ -21,8 +21,6 @@
/* There is some commonality. */
#include <sysdeps/unix/i386/sysdep.h>
-#include <bp-sym.h>
-#include <bp-asm.h>
/* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO. */
#include <dl-sysdep.h>
#include <tls.h>
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits