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

[Commits] r20118 - in /fsf/trunk/libc/ports: ./ sysdeps/arm/ sysdeps/ia64/ sysdeps/ia64/fpu/ sysdeps/unix/sysv/linux/hppa/



Author: eglibc
Date: Mon Aug 13 00:01:37 2012
New Revision: 20118

Log:
Import glibc-mainline for 2012-08-13

Modified:
    fsf/trunk/libc/ports/ChangeLog.arm
    fsf/trunk/libc/ports/ChangeLog.hppa
    fsf/trunk/libc/ports/ChangeLog.ia64
    fsf/trunk/libc/ports/sysdeps/arm/dl-machine.h
    fsf/trunk/libc/ports/sysdeps/ia64/configure
    fsf/trunk/libc/ports/sysdeps/ia64/configure.in
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm-symbols.h
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_tan.S
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/Versions
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list

Modified: fsf/trunk/libc/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.arm (original)
+++ fsf/trunk/libc/ports/ChangeLog.arm Mon Aug 13 00:01:37 2012
@@ -1,3 +1,9 @@
+2012-08-12  Mike Frysinger  <vapier@xxxxxxxxxx>
+
+	* sysdeps/arm/dl-machine.h (elf_machine_rel) [R_ARM_ABS32]: Declare
+	a new unaligned struct.  Cast reloc_addr to that when updating the
+	value it points to.
+
 2012-08-09  Roland McGrath  <roland@xxxxxxxxxxxxx>
 
 	* sysdeps/arm/arm-features.h: Document ARM_ASSUME_NO_IWMMXT.

Modified: fsf/trunk/libc/ports/ChangeLog.hppa
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.hppa (original)
+++ fsf/trunk/libc/ports/ChangeLog.hppa Mon Aug 13 00:01:37 2012
@@ -1,3 +1,8 @@
+2012-08-12  Mike Frysinger  <vapier@xxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Add prlimit64.
+	* sysdeps/unix/sysv/linux/hppa/Versions (GLIBC_2.17): Likewise.
+
 2012-08-07  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Remove.

Modified: fsf/trunk/libc/ports/ChangeLog.ia64
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.ia64 (original)
+++ fsf/trunk/libc/ports/ChangeLog.ia64 Mon Aug 13 00:01:37 2012
@@ -1,3 +1,16 @@
+2012-08-12  Mike Frysinger  <vapier@xxxxxxxxxx>
+
+	* sysdeps/ia64/configure.in: Remove TLS check.
+	* sysdeps/ia64/configure: Regenerated.
+
+2012-08-12  Mike Frysinger  <vapier@xxxxxxxxxx>
+
+	* sysdeps/ia64/fpu/libm-symbols.h (ASM_TYPE_DIRECTIVE): Remove.
+	(LOCAL_OBJECT_START): Do not use ASM_TYPE_DIRECTIVE.
+	(WEAK_LIBM_END): Likewise.
+	(GLOBAL_IEEE754_END): Likewise.
+	* sysdeps/ia64/fpu/libm_tan.S: Likewise.
+
 2012-08-10  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h

Modified: fsf/trunk/libc/ports/sysdeps/arm/dl-machine.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/arm/dl-machine.h (original)
+++ fsf/trunk/libc/ports/sysdeps/arm/dl-machine.h Mon Aug 13 00:01:37 2012
@@ -413,6 +413,10 @@
 	  break;
 	case R_ARM_ABS32:
 	  {
+	    struct unaligned
+	      {
+		Elf32_Addr x;
+	      } __attribute__((packed, may_alias));
 # ifndef RTLD_BOOTSTRAP
 	   /* This is defined in rtld.c, but nowhere in the static
 	      libc.a; make the reference weak so static programs can
@@ -431,7 +435,8 @@
 		 used while loading those libraries.  */
 	      value -= map->l_addr + refsym->st_value;
 # endif
-	    *reloc_addr += value;
+	    /* Support relocations on mis-aligned offsets.  */
+	    ((struct unaligned *) reloc_addr)->x += value;
 	    break;
 	  }
 	case R_ARM_TLS_DESC:

Modified: fsf/trunk/libc/ports/sysdeps/ia64/configure
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/configure (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/configure Mon Aug 13 00:01:37 2012
@@ -133,44 +133,5 @@
 
 fi
 
-# Check for support of thread-local storage handling in assembler and
-# linker.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ia64 TLS support" >&5
-$as_echo_n "checking for ia64 TLS support... " >&6; }
-if ${libc_cv_ia64_tls+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat > conftest.s <<\EOF
-	.section ".tdata","awT",@progbits
-foo:    data8   25
-	.text
-	addl    r16 = @ltoff(@dtpmod(foo#)), gp
-	addl    r17 = @ltoff(@dtprel(foo#)), gp
-	addl    r18 = @ltoff(@tprel(foo#)), gp
-	addl    r19 = @dtprel(foo#), gp
-	adds    r21 = @dtprel(foo#), r13
-	movl    r23 = @dtprel(foo#)
-	addl    r20 = @tprel(foo#), gp
-	adds    r22 = @tprel(foo#), r13
-	movl    r24 = @tprel(foo#)
-EOF
-if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
-  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-  libc_cv_ia64_tls=yes
-else
-  libc_cv_ia64_tls=no
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ia64_tls" >&5
-$as_echo "$libc_cv_ia64_tls" >&6; }
-if test $libc_cv_ia64_tls = no; then
-  as_fn_error $? "the assembler must support TLS" "$LINENO" 5
-fi
-
 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
 

Modified: fsf/trunk/libc/ports/sysdeps/ia64/configure.in
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/configure.in (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/configure.in Mon Aug 13 00:01:37 2012
@@ -34,34 +34,6 @@
   AC_DEFINE(HAVE_CPP_ASM_DEBUGINFO)
 fi
 
-# Check for support of thread-local storage handling in assembler and
-# linker.
-AC_CACHE_CHECK(for ia64 TLS support, libc_cv_ia64_tls, [dnl
-cat > conftest.s <<\EOF
-	.section ".tdata","awT",@progbits
-foo:    data8   25
-	.text
-	addl    r16 = @ltoff(@dtpmod(foo#)), gp
-	addl    r17 = @ltoff(@dtprel(foo#)), gp
-	addl    r18 = @ltoff(@tprel(foo#)), gp
-	addl    r19 = @dtprel(foo#), gp
-	adds    r21 = @dtprel(foo#), r13
-	movl    r23 = @dtprel(foo#)
-	addl    r20 = @tprel(foo#), gp
-	adds    r22 = @tprel(foo#), r13
-	movl    r24 = @tprel(foo#)
-EOF
-dnl
-if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
-  libc_cv_ia64_tls=yes
-else
-  libc_cv_ia64_tls=no
-fi
-rm -f conftest*])
-if test $libc_cv_ia64_tls = no; then
-  AC_MSG_ERROR([the assembler must support TLS])
-fi
-
 dnl It is always possible to access static and hidden symbols in an
 dnl position independent way.
 AC_DEFINE(PI_STATIC_AND_HIDDEN)

Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm-symbols.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm-symbols.h (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm-symbols.h Mon Aug 13 00:01:37 2012
@@ -4,7 +4,6 @@
 /* Support for compatible assembler handling.  */
 
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name
-#define ASM_TYPE_DIRECTIVE(name,T) .type name,T
 
 #define LOCAL_LIBM_ENTRY(name)			\
 	.proc name;				\
@@ -18,7 +17,7 @@
 #define RODATA		.rodata
 #define LOCAL_OBJECT_START(name)		\
    name:;					\
-   ASM_TYPE_DIRECTIVE(name, @object)
+   .type name, @object
 #define LOCAL_OBJECT_END(name)			\
    ASM_SIZE_DIRECTIVE(name)
 
@@ -42,7 +41,7 @@
  .hidden __##name;				\
 	LOCAL_LIBM_END(__##name);		\
  ASM_SIZE_DIRECTIVE(__##name);			\
- ASM_TYPE_DIRECTIVE(__##name, @function)
+ .type __##name, @function
 
 #define GLOBAL_IEEE754_ENTRY(name)		\
 	WEAK_LIBM_ENTRY(name);			\
@@ -52,7 +51,7 @@
 #define GLOBAL_IEEE754_END(name)			\
 	WEAK_LIBM_END(name);				\
  ASM_SIZE_DIRECTIVE(__ieee754_##name);			\
- ASM_TYPE_DIRECTIVE(__ieee754_##name, @function)
+ .type __ieee754_##name, @function
 
 #if defined ASSEMBLER && !defined NOT_IN_libc
 # define __libm_error_support	HIDDEN_JUMPTARGET(__libm_error_support)

Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_tan.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_tan.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_tan.S Mon Aug 13 00:01:37 2012
@@ -689,7 +689,7 @@
 .align 128
 
 TAN_BASE_CONSTANTS:
-ASM_TYPE_DIRECTIVE(TAN_BASE_CONSTANTS,@object)
+.type TAN_BASE_CONSTANTS, @object
 data4    0x4B800000, 0xCB800000, 0x38800000, 0xB8800000 // two**24, -two**24
                                                         // two**-14, -two**-14
 data4    0x4E44152A, 0xA2F9836E, 0x00003FFE, 0x00000000 // two_by_pi

Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/Versions
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/Versions (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/Versions Mon Aug 13 00:01:37 2012
@@ -27,6 +27,9 @@
     #errlist-compat	257
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
+  GLIBC_2.17 {
+    prlimit64;
+  }
 }
 librt {
   GLIBC_2.3 {

Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list Mon Aug 13 00:01:37 2012
@@ -35,3 +35,4 @@
 
 setrlimit	-	setrlimit	i:ip	__setrlimit	setrlimit	
 getrlimit	-	getrlimit	i:ip	__getrlimit	getrlimit	
+prlimit64	EXTRA	prlimit64	i:iipp	prlimit64	prlimit64@@GLIBC_2.17

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