[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r6704 - in /fsf/trunk/libc: ./ sysdeps/powerpc/ sysdeps/unix/sysv/linux/bits/ sysdeps/unix/sysv/linux/powerpc/bits/
- To: commits@xxxxxxxxxx
- Subject: [commits] r6704 - in /fsf/trunk/libc: ./ sysdeps/powerpc/ sysdeps/unix/sysv/linux/bits/ sysdeps/unix/sysv/linux/powerpc/bits/
- From: eglibc@xxxxxxxxxx
- Date: Fri, 08 Aug 2008 07:07:46 -0000
Author: eglibc
Date: Fri Aug 8 00:07:42 2008
New Revision: 6704
Log:
Import glibc-mainline for 2008-08-08
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/sysdeps/powerpc/dl-procinfo.c
fsf/trunk/libc/sysdeps/powerpc/dl-procinfo.h
fsf/trunk/libc/sysdeps/powerpc/sysdep.h
fsf/trunk/libc/sysdeps/unix/sysv/linux/bits/in.h
fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri Aug 8 00:07:42 2008
@@ -1,3 +1,37 @@
+2008-08-07 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ [BZ #6790]
+ * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define.
+ (IPV6_PMTUDISC_PROBE): Likewise.
+
+2008-08-07 Pete Eberlein <eberlein@xxxxxxxxxx>
+
+ [BZ #6791]
+ * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define.
+
+2008-08-01 Steven Munroe <sjmunroe@xxxxxxxxxx>
+ Carlos Eduardo Seo <cseo@xxxxxxxxxxxxxxxxxx>
+
+ [BZ #6817]
+ * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags):
+ Added the members 'vsx' and 'arch_2_06'.
+ (_dl_powerpc_platforms): Add the member 'power7'.
+ * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST
+ to reflect the changes required by VSX and ISA 2.06.
+ Modify _DL_PLATFORMS_COUNT to reflect the addition of
+ 'power7'.
+ Defined PPC_PLATFORM_POWER7.
+ (_dl_string_platform): Add support for POWER7.
+ * sysdeps/powerpc/sysdep.h: Define bit masks for VSX
+ capability and ISA 2.06.
+
+2008-08-07 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ [BZ #6824]
+ * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct
+ macro to detect use of 128 bit long double.
+ Patch by Ryan S. Arnold <rsa@xxxxxxxxxx>.
+
2008-08-05 Ulrich Drepper <drepper@xxxxxxxxxx>
* scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms.
Modified: fsf/trunk/libc/sysdeps/powerpc/dl-procinfo.c
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/dl-procinfo.c (original)
+++ fsf/trunk/libc/sysdeps/powerpc/dl-procinfo.c Fri Aug 8 00:07:42 2008
@@ -46,11 +46,12 @@
#if !defined PROCINFO_DECL && defined SHARED
._dl_powerpc_cap_flags
#else
-PROCINFO_CLASS const char _dl_powerpc_cap_flags[23][10]
+PROCINFO_CLASS const char _dl_powerpc_cap_flags[25][10]
#endif
#ifndef PROCINFO_DECL
= {
- "power6x", "dfp", "pa6t",
+ "vsx",
+ "arch_2_06", "power6x", "dfp", "pa6t",
"arch_2_05", "ic_snoop", "smt", "booke",
"cellbe", "power5+", "power5", "power4",
"notb", "efpdouble", "efpsingle", "spe",
@@ -67,7 +68,7 @@
#if !defined PROCINFO_DECL && defined SHARED
._dl_powerpc_platforms
#else
-PROCINFO_CLASS const char _dl_powerpc_platforms[7][12]
+PROCINFO_CLASS const char _dl_powerpc_platforms[8][12]
#endif
#ifndef PROCINFO_DECL
= {
@@ -77,7 +78,8 @@
[PPC_PLATFORM_POWER5_PLUS] = "power5+",
[PPC_PLATFORM_POWER6] = "power6",
[PPC_PLATFORM_CELL_BE] = "ppc-cell-be",
- [PPC_PLATFORM_POWER6X] = "power6x"
+ [PPC_PLATFORM_POWER6X] = "power6x",
+ [PPC_PLATFORM_POWER7] = "power7"
}
#endif
#if !defined SHARED || defined PROCINFO_DECL
Modified: fsf/trunk/libc/sysdeps/powerpc/dl-procinfo.h
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/dl-procinfo.h (original)
+++ fsf/trunk/libc/sysdeps/powerpc/dl-procinfo.h Fri Aug 8 00:07:42 2008
@@ -23,15 +23,15 @@
#include <ldsodefs.h>
#include <sysdep.h> /* This defines the PPC_FEATURE_* macros. */
-/* There are 20 bits used, but they are bits 12..31. */
-#define _DL_HWCAP_FIRST 9
+/* There are 25 bits used, but they are bits 7..31. */
+#define _DL_HWCAP_FIRST 7
#define _DL_HWCAP_COUNT 32
/* These bits influence library search. */
#define HWCAP_IMPORTANT (PPC_FEATURE_HAS_ALTIVEC \
+ PPC_FEATURE_HAS_DFP)
-#define _DL_PLATFORMS_COUNT 7
+#define _DL_PLATFORMS_COUNT 8
#define _DL_FIRST_PLATFORM 32
/* Mask to filter out platforms. */
@@ -46,6 +46,7 @@
#define PPC_PLATFORM_POWER6 4
#define PPC_PLATFORM_CELL_BE 5
#define PPC_PLATFORM_POWER6X 6
+#define PPC_PLATFORM_POWER7 7
static inline const char *
__attribute__ ((unused))
@@ -103,6 +104,9 @@
++str;
}
break;
+ case '7':
+ ret = _DL_FIRST_PLATFORM + PPC_PLATFORM_POWER7;
+ break;
default:
return -1;
}
Modified: fsf/trunk/libc/sysdeps/powerpc/sysdep.h
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/sysdep.h (original)
+++ fsf/trunk/libc/sysdeps/powerpc/sysdep.h Fri Aug 8 00:07:42 2008
@@ -44,6 +44,8 @@
#define PPC_FEATURE_PA6T 0x00000800 /* PA Semi 6T Core */
#define PPC_FEATURE_HAS_DFP 0x00000400 /* Decimal FP Unit */
#define PPC_FEATURE_POWER6_EXT 0x00000200 /* P6 + mffgpr/mftgpr */
+#define PPC_FEATURE_HAS_VSX 0x00000100 /* P7 Vector Extension. */
+#define PPC_FEATURE_ARCH_2_06 0x00000080 /* ISA 2.06 */
#define PPC_FEATURE_970 (PPC_FEATURE_POWER4 + PPC_FEATURE_HAS_ALTIVEC)
#ifdef __ASSEMBLER__
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/bits/in.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/bits/in.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/bits/in.h Fri Aug 8 00:07:42 2008
@@ -70,6 +70,7 @@
#define IP_PMTUDISC_DONT 0 /* Never send DF frames. */
#define IP_PMTUDISC_WANT 1 /* Use per route hints. */
#define IP_PMTUDISC_DO 2 /* Always DF. */
+#define IP_PMTUDISC_PROBE 3 /* Ignore dst pmtu. */
/* To select the IP level. */
#define SOL_IP 0
@@ -162,6 +163,7 @@
#define IPV6_PMTUDISC_DONT 0 /* Never send DF frames. */
#define IPV6_PMTUDISC_WANT 1 /* Use per route hints. */
#define IPV6_PMTUDISC_DO 2 /* Always DF. */
+#define IPV6_PMTUDISC_PROBE 3 /* Ignore dst pmtu. */
/* Socket level values for IPv6. */
#define SOL_IPV6 41
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h Fri Aug 8 00:07:42 2008
@@ -72,7 +72,7 @@
__extension__ union { double __d; int __i[2]; } __u = { __d: __x };
return __u.__i[0] < 0;
}
-# ifdef __LONGDOUBLE128
+# ifdef __LONG_DOUBLE_128__
__MATH_INLINE int
__NTH (__signbitl (long double __x))
{
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mman.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mman.h Fri Aug 8 00:07:42 2008
@@ -1,5 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/PowerPC version.
- Copyright (C) 1997, 2000, 2003, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1997,2000,2003,2005,2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -34,6 +34,7 @@
#define PROT_WRITE 0x2 /* Page can be written. */
#define PROT_EXEC 0x4 /* Page can be executed. */
#define PROT_NONE 0x0 /* Page can not be accessed. */
+#define PROT_SAO 0x10 /* Strong Access Ordering. */
#define PROT_GROWSDOWN 0x01000000 /* Extend change to start of
growsdown vma (mprotect only). */
#define PROT_GROWSUP 0x02000000 /* Extend change to start of