[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r22455 - in /fsf/trunk/libc: ./ elf/ iconv/ posix/ resolv/ string/ sysdeps/unix/sysv/linux/x86_64/ sysdeps/unix/x86_64/ sysd...



Author: eglibc
Date: Mon Feb 18 00:02:14 2013
New Revision: 22455

Log:
Import glibc-mainline for 2013-02-18

Removed:
    fsf/trunk/libc/sysdeps/x86_64/bp-asm.h
Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/elf/Versions
    fsf/trunk/libc/iconv/Versions
    fsf/trunk/libc/posix/Versions
    fsf/trunk/libc/resolv/Versions
    fsf/trunk/libc/string/Versions
    fsf/trunk/libc/sysdeps/unix/sysv/linux/x86_64/clone.S
    fsf/trunk/libc/sysdeps/unix/sysv/linux/x86_64/sysdep.h
    fsf/trunk/libc/sysdeps/unix/x86_64/sysdep.S
    fsf/trunk/libc/sysdeps/x86_64/bsd-_setjmp.S
    fsf/trunk/libc/sysdeps/x86_64/bsd-setjmp.S
    fsf/trunk/libc/sysdeps/x86_64/mempcpy.S
    fsf/trunk/libc/sysdeps/x86_64/rtld-strchr.S
    fsf/trunk/libc/sysdeps/x86_64/rtld-strlen.S
    fsf/trunk/libc/sysdeps/x86_64/setjmp.S
    fsf/trunk/libc/sysdeps/x86_64/start.S
    fsf/trunk/libc/sysdeps/x86_64/strcat.S
    fsf/trunk/libc/sysdeps/x86_64/strcmp.S
    fsf/trunk/libc/sysdeps/x86_64/strcpy.S
    fsf/trunk/libc/sysdeps/x86_64/strcpy_chk.S
    fsf/trunk/libc/sysdeps/x86_64/strtok.S
    fsf/trunk/libc/sysdeps/x86_64/strtok_r.S
    fsf/trunk/libc/time/Versions
    fsf/trunk/libc/wcsmbs/Versions

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Mon Feb 18 00:02:14 2013
@@ -1,3 +1,58 @@
+2013-02-17  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	[BZ #13550]
+	* sysdeps/x86_64/bp-asm.h: Remove file.
+	* sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
+	<bp-sym.h> and <bp-asm.h>.
+	(__clone): Do not use BP_SYM.
+	* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
+	<bp-sym.h> and <bp-asm.h>.
+	* sysdeps/unix/x86_64/sysdep.S: Likewise.
+	* sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	(_setjmp): Do not use BP_SYM.
+	* sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	(setjmp): Do not use BP_SYM.
+	* sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
+	libc_hidden_def.
+	(mempcpy): Do not use BP_SYM in weak_alias.
+	* sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	(strchr): Do not use BP_SYM.
+	* sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	* sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
+	* sysdeps/x86_64/start.S: Do not include "bp-sym.h".
+	(_start): Do not use BP_SYM.
+	* sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	(strcat): Do not use BP_SYM.
+	* sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	(STRCMP): Do not use BP_SYM.
+	* sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	(STRCPY): Do not use BP_SYM.
+	* sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	* sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
+	"bp-asm.h".
+	(FUNCTION): Do not use BP_SYM.
+	* sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
+	weak_alias.
+	(__GI___strtok_r): Do not use BP_SYM in strong_alias.
+
+2013-02-17  Andreas Jaeger  <aj@xxxxxxx>
+
+	* time/Versions: Sort entries.
+	* string/Versions: Likewise.
+	* resolv/Versions: Likewise.
+	* posix/Versions: Likewise.
+	* iconv/Versions: Likewise.
+	* elf/Versions: Likewise.
+	* wcsmbs/Versions: Likewise.
+
 2013-02-15  Siddhesh Poyarekar  <siddhesh@xxxxxxxxxx>
 
 	* sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in

Modified: fsf/trunk/libc/elf/Versions
==============================================================================
--- fsf/trunk/libc/elf/Versions (original)
+++ fsf/trunk/libc/elf/Versions Mon Feb 18 00:02:14 2013
@@ -1,7 +1,7 @@
 libc {
   GLIBC_2.0 {
 %ifdef EXPORT_UNWIND_FIND_FDE
-    __register_frame_info; __deregister_frame_info;
+    __deregister_frame_info; __register_frame_info;
 %endif
   }
   GLIBC_2.1 {
@@ -13,23 +13,23 @@
   }
 %ifdef EXPORT_UNWIND_FIND_FDE
   GCC_3.0 {
-    __register_frame_info_bases; __deregister_frame_info_bases;
+    __deregister_frame_info_bases; __register_frame_info_bases;
     __register_frame_info_table_bases; _Unwind_Find_FDE;
   }
 %endif
   GLIBC_PRIVATE {
     # functions used in other libraries
     _dl_addr;
+    _dl_open_hook;
     _dl_sym; _dl_vsym;
-    _dl_open_hook;
-    __libc_dlopen_mode; __libc_dlsym; __libc_dlclose;
+    __libc_dlclose; __libc_dlopen_mode; __libc_dlsym;
   }
 }
 
 ld {
   GLIBC_2.0 {
     # Function from libc.so which must be shared with libc.
-    calloc; free; malloc; realloc; __libc_memalign;
+    __libc_memalign; calloc; free; malloc; realloc;
 
     _r_debug;
   }
@@ -50,16 +50,15 @@
   GLIBC_PRIVATE {
     # Those are in the dynamic linker, but used by libc.so.
     __libc_enable_secure;
-    _dl_argv;
-    _dl_out_of_memory;
-    _dl_starting_up;
+    _dl_allocate_tls; _dl_allocate_tls_init;
+    _dl_argv; _dl_get_tls_static_info; _dl_deallocate_tls;
+    _dl_make_stack_executable; _dl_out_of_memory;
+    _dl_rtld_di_serinfo; _dl_starting_up; _dl_tls_setup;
     _rtld_global; _rtld_global_ro;
-    _dl_allocate_tls; _dl_deallocate_tls;
-    _dl_get_tls_static_info; _dl_allocate_tls_init;
-    _dl_tls_setup; _dl_rtld_di_serinfo;
-    _dl_make_stack_executable;
+
     # Only here for gdb while a better method is developed.
     _dl_debug_state;
+
     # Pointer protection.
     __pointer_chk_guard;
   }

Modified: fsf/trunk/libc/iconv/Versions
==============================================================================
--- fsf/trunk/libc/iconv/Versions (original)
+++ fsf/trunk/libc/iconv/Versions Mon Feb 18 00:02:14 2013
@@ -1,10 +1,10 @@
 libc {
   GLIBC_2.1 {
     # i*
-    iconv_open; iconv; iconv_close;
+    iconv; iconv_open; iconv_close;
   }
   GLIBC_PRIVATE {
     # functions shared with iconv program
-    __gconv_get_alias_db; __gconv_get_modules_db; __gconv_get_cache;
+    __gconv_get_alias_db; __gconv_get_cache; __gconv_get_modules_db;
   }
 }

Modified: fsf/trunk/libc/posix/Versions
==============================================================================
--- fsf/trunk/libc/posix/Versions (original)
+++ fsf/trunk/libc/posix/Versions Mon Feb 18 00:02:14 2013
@@ -1,7 +1,7 @@
 libc {
   GLIBC_2.0 {
     # functions with special/multiple interfaces
-    __bsd_getpgrp; __setpgid; __getpgid;
+    __bsd_getpgrp; __getpgid; __setpgid;
 
     # functions with required interface outside normal name space
     _exit;
@@ -114,7 +114,7 @@
     # under GLIBC_2.0; the first instance in the script is taken as the
     # default, so linux configurations put them in GLIBC_2.0 while other
     # configuration put them in GLIBC_2.3.2.
-    getresuid; getresgid; setresuid; setresgid;
+    getresgid; getresuid; setresgid; setresuid;
   }
   GLIBC_2.3.3 {
     sched_getaffinity; sched_setaffinity;

Modified: fsf/trunk/libc/resolv/Versions
==============================================================================
--- fsf/trunk/libc/resolv/Versions (original)
+++ fsf/trunk/libc/resolv/Versions Mon Feb 18 00:02:14 2013
@@ -97,6 +97,6 @@
 
 libanl {
   GLIBC_2.2.3 {
-    getaddrinfo_a; gai_cancel; gai_error; gai_suspend;
+    gai_cancel; gai_error; gai_suspend; getaddrinfo_a;
   }
 }

Modified: fsf/trunk/libc/string/Versions
==============================================================================
--- fsf/trunk/libc/string/Versions (original)
+++ fsf/trunk/libc/string/Versions Mon Feb 18 00:02:14 2013
@@ -7,8 +7,8 @@
     __bzero; __strtok_r;
 
     # functions used in other libraries
-    __stpncpy; __stpcpy; __strdup; __mempcpy; __strcasecmp; __strerror_r;
-    __ffs;
+    __ffs; __mempcpy; __stpncpy; __stpcpy; __strcasecmp; __strdup;
+    __strerror_r;
 
     # a*
     argz_add; argz_add_sep; argz_append; argz_count; argz_create;

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/x86_64/clone.S
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/x86_64/clone.S (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/x86_64/clone.S Mon Feb 18 00:02:14 2013
@@ -22,8 +22,6 @@
 #define _ERRNO_H	1
 #include <bits/errno.h>
 #include <asm-syntax.h>
-#include <bp-sym.h>
-#include <bp-asm.h>
 
 #define CLONE_VM	0x00000100
 #define CLONE_THREAD	0x00010000
@@ -52,7 +50,7 @@
 
 
         .text
-ENTRY (BP_SYM (__clone))
+ENTRY (__clone)
 	/* Sanity check arguments.  */
 	movq	$-EINVAL,%rax
 	testq	%rdi,%rdi		/* no NULL function pointers */
@@ -117,6 +115,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/x86_64/sysdep.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/x86_64/sysdep.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/x86_64/sysdep.h Mon Feb 18 00:02:14 2013
@@ -20,8 +20,6 @@
 
 /* There is some commonality.  */
 #include <sysdeps/unix/x86_64/sysdep.h>
-#include <bp-sym.h>
-#include <bp-asm.h>
 #include <tls.h>
 
 #ifdef IS_IN_rtld

Modified: fsf/trunk/libc/sysdeps/unix/x86_64/sysdep.S
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/x86_64/sysdep.S (original)
+++ fsf/trunk/libc/sysdeps/unix/x86_64/sysdep.S Mon Feb 18 00:02:14 2013
@@ -18,8 +18,6 @@
 #include <sysdep.h>
 #define _ERRNO_H
 #include <bits/errno.h>
-#include <bp-asm.h>
-#include <bp-sym.h>
 #include <tls.h>
 
 #ifdef IS_IN_rtld

Removed: fsf/trunk/libc/sysdeps/x86_64/bp-asm.h
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/bp-asm.h (original)
+++ fsf/trunk/libc/sysdeps/x86_64/bp-asm.h (removed)
@@ -1,140 +1,0 @@
-/* Bounded-pointer definitions for x86-64 assembler.
-   Copyright (C) 2001-2013 Free Software Foundation, Inc.
-
-   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 24
-/* 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 6
-/* Although the caller pushes the hidden arg, the callee is
-   responsible for popping it.  */
-#   define RET_PTR ret $RTN_SIZE
-/* Maintain frame pointer chain in leaf assembler functions for the benefit
-   of debugging stack traces when bounds violations occur.  */
-#   define ENTER pushq %rbp; movq %rsp, %rbp
-#   define LEAVE movq %rbp, %rsp; popq %rbp
-/* Stack space overhead of procedure-call linkage: return address and
-   frame pointer.  */
-#   define LINKAGE 16
-/* Stack offset of return address after calling ENTER.  */
-#   define PCOFF 8
-
-/* Int 5 is the "bound range" exception also raised by the "bound"
-   instruction.  */
-#   define BOUNDS_VIOLATED int $5
-
-#   define CHECK_BOUNDS_LOW(VAL_REG, BP_MEM)	\
-	cmpq 8+BP_MEM, VAL_REG;			\
-	jae 0f; /* continue if value >= low */	\
-	BOUNDS_VIOLATED;			\
-    0:
-
-#   define CHECK_BOUNDS_HIGH(VAL_REG, BP_MEM, Jcc)	\
-	cmpq 16+BP_MEM, VAL_REG;			\
-	Jcc 0f; /* continue if value < high */		\
-	BOUNDS_VIOLATED;				\
-    0:
-
-#   define CHECK_BOUNDS_BOTH(VAL_REG, BP_MEM)	\
-	cmpq 8+BP_MEM, VAL_REG;			\
-	jb 1f; /* die if value < low */		\
-	cmpq 16+BP_MEM, VAL_REG;		\
-	jb 0f; /* continue if value < high */	\
-    1:	BOUNDS_VIOLATED;			\
-    0:
-
-#   define CHECK_BOUNDS_BOTH_WIDE(VAL_REG, BP_MEM, LENGTH)	\
-	CHECK_BOUNDS_LOW(VAL_REG, BP_MEM);			\
-	addl LENGTH, VAL_REG;					\
-	cmpq 16+BP_MEM, VAL_REG;					\
-	jbe 0f; /* continue if value <= high */			\
-	BOUNDS_VIOLATED;					\
-    0:	subq LENGTH, VAL_REG /* restore value */
-
-/* Take bounds from BP_MEM and affix them to the pointer
-   value in %rax, stuffing all into memory at RTN(%esp).
-   Use %rdx as a scratch register.  */
-
-#   define RETURN_BOUNDED_POINTER(BP_MEM)	\
-	movq RTN(%rsp), %rdx;			\
-	movq %rax, 0(%rdx);			\
-	movq 8+BP_MEM, %rax;			\
-	movq %rax, 4(%rdx);			\
-	movq 16+BP_MEM, %rax;			\
-	movq %rax, 8(%rdx)
-
-#   define RETURN_NULL_BOUNDED_POINTER		\
-	movl RTN(%rsp), %rdx;			\
-	movl %rax, 0(%rdx);			\
-	movl %rax, 4(%rdx);			\
-	movl %rax, 8(%rdx)
-
-/* The caller of __errno_location is responsible for allocating space
-   for the three-word BP return-value and passing pushing its address
-   as an implicit first argument.  */
-#   define PUSH_ERRNO_LOCATION_RETURN		\
-	subl $16, %esp;				\
-	subl $8, %esp;				\
-	pushq %rsp
-
-/* __errno_location is responsible for popping the implicit first
-   argument, but we must pop the space for the BP itself.  We also
-   dereference the return value in order to dig out the pointer value.  */
-#   define POP_ERRNO_LOCATION_RETURN		\
-	popq %rax;				\
-	addq $16, %rsp
-
-#  else /* !__BOUNDED_POINTERS__ */
-
-/* Unbounded pointers occupy one word.  */
-#   define PTR_SIZE 8
-/* Unbounded pointer return values are passed back in the register %rax.  */
-#   define RTN_SIZE 0
-/* Use simple return instruction for unbounded pointer values.  */
-#   define RET_PTR ret
-/* Don't maintain frame pointer chain for leaf assembler functions.  */
-#   define ENTER
-#   define LEAVE
-/* Stack space overhead of procedure-call linkage: return address only.  */
-#   define LINKAGE 8
-/* Stack offset of return address after calling ENTER.  */
-#   define PCOFF 0
-
-#   define CHECK_BOUNDS_LOW(VAL_REG, BP_MEM)
-#   define CHECK_BOUNDS_HIGH(VAL_REG, BP_MEM, Jcc)
-#   define CHECK_BOUNDS_BOTH(VAL_REG, BP_MEM)
-#   define CHECK_BOUNDS_BOTH_WIDE(VAL_REG, BP_MEM, LENGTH)
-#   define RETURN_BOUNDED_POINTER(BP_MEM)
-
-#   define RETURN_NULL_BOUNDED_POINTER
-
-#   define PUSH_ERRNO_LOCATION_RETURN
-#   define POP_ERRNO_LOCATION_RETURN
-
-#  endif /* !__BOUNDED_POINTERS__ */
-
-# endif /* __ASSEMBLER__ */
-
-#endif /* _bp_asm_h_ */

Modified: fsf/trunk/libc/sysdeps/x86_64/bsd-_setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/bsd-_setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/bsd-_setjmp.S Mon Feb 18 00:02:14 2013
@@ -24,16 +24,14 @@
 #define _ASM
 #define _SETJMP_H
 #include <bits/setjmp.h>
-#include "bp-sym.h"
-#include "bp-asm.h"
 
-ENTRY (BP_SYM (_setjmp))
+ENTRY (_setjmp)
 	/* Set up arguments, we only need to set the second arg.  */
 	xorl %esi, %esi
 #ifdef PIC
 	jmp HIDDEN_JUMPTARGET (__sigsetjmp)
 #else
-	jmp BP_SYM (__sigsetjmp)
+	jmp __sigsetjmp
 #endif
-END (BP_SYM (_setjmp))
+END (_setjmp)
 libc_hidden_def (_setjmp)

Modified: fsf/trunk/libc/sysdeps/x86_64/bsd-setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/bsd-setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/bsd-setjmp.S Mon Feb 18 00:02:14 2013
@@ -24,15 +24,13 @@
 #define _ASM
 #define _SETJMP_H
 #include <bits/setjmp.h>
-#include "bp-sym.h"
-#include "bp-asm.h"
 
-ENTRY (BP_SYM (setjmp))
+ENTRY (setjmp)
 	/* Set up arguments, we only need to set the 2nd arg.  */
 	movl $1, %esi
 #ifdef	PIC
 	jmp HIDDEN_JUMPTARGET (__sigsetjmp)
 #else
-	jmp BP_SYM (__sigsetjmp)
+	jmp __sigsetjmp
 #endif
-END (BP_SYM (setjmp))
+END (setjmp)

Modified: fsf/trunk/libc/sysdeps/x86_64/mempcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/mempcpy.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/mempcpy.S Mon Feb 18 00:02:14 2013
@@ -3,6 +3,6 @@
 #define __memcpy_chk __mempcpy_chk
 #include <sysdeps/x86_64/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/x86_64/rtld-strchr.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/rtld-strchr.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/rtld-strchr.S Mon Feb 18 00:02:14 2013
@@ -19,12 +19,10 @@
 
 #include <sysdep.h>
 #include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
 
 
 	.text
-ENTRY (BP_SYM (strchr))
+ENTRY (strchr)
 
 	/* Before we start with the main loop we process single bytes
 	   until the source pointer is aligned.  This has two reasons:
@@ -284,7 +282,7 @@
 6:
 	nop
 	retq
-END (BP_SYM (strchr))
-
-weak_alias (BP_SYM (strchr), BP_SYM (index))
+END (strchr)
+
+weak_alias (strchr, index)
 libc_hidden_builtin_def (strchr)

Modified: fsf/trunk/libc/sysdeps/x86_64/rtld-strlen.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/rtld-strlen.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/rtld-strlen.S Mon Feb 18 00:02:14 2013
@@ -19,8 +19,6 @@
 
 #include <sysdep.h>
 #include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
 
 
 	.text

Modified: fsf/trunk/libc/sysdeps/x86_64/setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/setjmp.S Mon Feb 18 00:02:14 2013
@@ -61,10 +61,10 @@
 #else
 	/* Make a tail call to __sigjmp_save; it takes the same args.  */
 # ifdef	PIC
-	jmp C_SYMBOL_NAME (BP_SYM (__sigjmp_save))@PLT
+	jmp C_SYMBOL_NAME (__sigjmp_save)@PLT
 # else
-	jmp BP_SYM (__sigjmp_save)
+	jmp __sigjmp_save
 # endif
 #endif
-END (BP_SYM (__sigsetjmp))
+END (__sigsetjmp)
 hidden_def (__sigsetjmp)

Modified: fsf/trunk/libc/sysdeps/x86_64/start.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/start.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/start.S Mon Feb 18 00:02:14 2013
@@ -54,7 +54,6 @@
 */
 
 #include <sysdep.h>
-#include "bp-sym.h"
 
 	.text
 	.globl _start
@@ -106,21 +105,21 @@
 	mov __libc_csu_fini@GOTPCREL(%rip), %R8_LP
 	mov __libc_csu_init@GOTPCREL(%rip), %RCX_LP
 
-	mov BP_SYM (main)@GOTPCREL(%rip), %RDI_LP
+	mov main@GOTPCREL(%rip), %RDI_LP
 
 	/* 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
 	/* Pass address of our own entry points to .fini and .init.  */
 	mov $__libc_csu_fini, %R8_LP
 	mov $__libc_csu_init, %RCX_LP
 
-	mov $BP_SYM (main), %RDI_LP
+	mov $main, %RDI_LP
 
 	/* 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/x86_64/strcat.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/strcat.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/strcat.S Mon Feb 18 00:02:14 2013
@@ -20,12 +20,10 @@
 
 #include <sysdep.h>
 #include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
 
 
 	.text
-ENTRY (BP_SYM (strcat))
+ENTRY (strcat)
 	movq %rdi, %rcx		/* Dest. register. */
 	andl $7, %ecx		/* mask alignment bits */
 	movq %rdi, %rax		/* Duplicate destination pointer.  */
@@ -255,5 +253,5 @@
 24:
 	movq	%rdi, %rax	/* Source is return value.  */
 	retq
-END (BP_SYM (strcat))
+END (strcat)
 libc_hidden_builtin_def (strcat)

Modified: fsf/trunk/libc/sysdeps/x86_64/strcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/strcmp.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/strcmp.S Mon Feb 18 00:02:14 2013
@@ -21,8 +21,6 @@
 
 #include <sysdep.h>
 #include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
 
 #undef UPDATE_STRNCMP_COUNTER
 
@@ -127,7 +125,7 @@
 	/* FALLTHROUGH to strncasecmp_l.  */
 #endif
 
-ENTRY (BP_SYM (STRCMP))
+ENTRY (STRCMP)
 #ifdef NOT_IN_libc
 /* Simple version since we can't use SSE registers in ld.so.  */
 L(oop):	movb	(%rdi), %al
@@ -145,7 +143,7 @@
 	movl	$-1, %ecx
 	cmovbl	%ecx, %eax
 	ret
-END (BP_SYM (STRCMP))
+END (STRCMP)
 #else	/* NOT_IN_libc */
 # ifdef USE_AS_STRCASECMP_L
 	/* We have to fall back on the C implementation for locales
@@ -2281,7 +2279,7 @@
 
 	sub	%ecx, %eax
 	ret
-END (BP_SYM (STRCMP))
+END (STRCMP)
 
 	.section .rodata,"a",@progbits
 	.p2align 3

Modified: fsf/trunk/libc/sysdeps/x86_64/strcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/strcpy.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/strcpy.S Mon Feb 18 00:02:14 2013
@@ -19,15 +19,13 @@
 
 #include <sysdep.h>
 #include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
 
 #ifndef USE_AS_STPCPY
 # define STRCPY strcpy
 #endif
 
 	.text
-ENTRY (BP_SYM (STRCPY))
+ENTRY (STRCPY)
 	movq %rsi, %rcx		/* Source register. */
 	andl $7, %ecx		/* mask alignment bits */
 	movq %rdi, %rdx		/* Duplicate destination pointer.  */
@@ -152,7 +150,7 @@
 	movq	%rdi, %rax	/* Source is return value.  */
 #endif
 	retq
-END (BP_SYM (STRCPY))
+END (STRCPY)
 #ifndef USE_AS_STPCPY
 libc_hidden_builtin_def (strcpy)
 #endif

Modified: fsf/trunk/libc/sysdeps/x86_64/strcpy_chk.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/strcpy_chk.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/strcpy_chk.S Mon Feb 18 00:02:14 2013
@@ -20,8 +20,6 @@
 
 #include <sysdep.h>
 #include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
 
 #ifndef USE_AS_STPCPY_CHK
 # define STRCPY_CHK __strcpy_chk

Modified: fsf/trunk/libc/sysdeps/x86_64/strtok.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/strtok.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/strtok.S Mon Feb 18 00:02:14 2013
@@ -21,8 +21,6 @@
 
 #include <sysdep.h>
 #include "asm-syntax.h"
-#include "bp-sym.h"
-#include "bp-asm.h"
 
 /* This file can be used for the strtok and strtok_r functions:
 
@@ -59,7 +57,7 @@
 #endif
 
 	.text
-ENTRY (BP_SYM (FUNCTION))
+ENTRY (FUNCTION)
 	/* First we create a table with flags for all possible characters.
 	   For the ASCII (7bit/8bit) or ISO-8859-X character sets which are
 	   supported by the C string functions we have 256 characters.
@@ -207,4 +205,4 @@
 	mov %RDX_LP, SAVE_PTR
 	jmp L(epilogue)
 
-END (BP_SYM (FUNCTION))
+END (FUNCTION)

Modified: fsf/trunk/libc/sysdeps/x86_64/strtok_r.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/strtok_r.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/strtok_r.S Mon Feb 18 00:02:14 2013
@@ -1,5 +1,5 @@
 #define FUNCTION __strtok_r
 #define USE_AS_STRTOK_R	1
 #include <sysdeps/x86_64/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/time/Versions
==============================================================================
--- fsf/trunk/libc/time/Versions (original)
+++ fsf/trunk/libc/time/Versions Mon Feb 18 00:02:14 2013
@@ -1,7 +1,7 @@
 libc {
   GLIBC_2.0 {
     # global variables
-    __timezone; __daylight; __tzname;
+    __daylight; __timezone; __tzname;
 
     # functions with special/multiple interfaces
     __adjtimex;
@@ -51,13 +51,13 @@
     wcsftime;
   }
   GLIBC_2.3 {
+    # these internal names are used by libstdc++
+    __strftime_l; __wcsftime_l;
+
     # s*
     strftime_l;
     # w*
     wcsftime_l;
-
-    # these internal names are used by libstdc++
-    __strftime_l; __wcsftime_l;
   }
   GLIBC_2.3.2 {
     strptime_l;

Modified: fsf/trunk/libc/wcsmbs/Versions
==============================================================================
--- fsf/trunk/libc/wcsmbs/Versions (original)
+++ fsf/trunk/libc/wcsmbs/Versions Mon Feb 18 00:02:14 2013
@@ -1,7 +1,7 @@
 libc {
   GLIBC_2.0 {
     # functions used in inline functions or macros
-    __wcsto*_internal; __mbrlen; __mbrtowc;
+     __mbrlen; __mbrtowc; __wcsto*_internal;
 
     # b*
     btowc;
@@ -25,10 +25,10 @@
     wcschrnul; wmempcpy;
   }
   GLIBC_2.7 {
-    __isoc99_wscanf; __isoc99_vwscanf; __isoc99_fwscanf; __isoc99_vfwscanf;
-    __isoc99_swscanf; __isoc99_vswscanf;
+    __isoc99_fwscanf; __isoc99_swscanf; __isoc99_vfwscanf; __isoc99_vswscanf;
+    __isoc99_vwscanf; __isoc99_wscanf;
   }
   GLIBC_2.16 {
-    mbrtoc16; c16rtomb; mbrtoc32; c32rtomb;
+    c16rtomb; c32rtomb; mbrtoc16; mbrtoc32;
   }
 }

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits