aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <aschwab@redhat.com>2009-07-05 23:46:03 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-05 23:46:03 -0700
commit2123d5815eaaa53a772be4b6069bdc6332f2f491 (patch)
tree31cf4dcda11f52f10f65338c1ef2d85a36c8c336
parentcea43295928d46c3a951ac9d949197c83da7e217 (diff)
downloadglibc-2123d5815eaaa53a772be4b6069bdc6332f2f491.zip
glibc-2123d5815eaaa53a772be4b6069bdc6332f2f491.tar.gz
glibc-2123d5815eaaa53a772be4b6069bdc6332f2f491.tar.bz2
Fix wrong PPC_FEATURE_* values.
Nothing uses these wrong values yet, but it fixes a warning due to conflicting definitions in <asm/cputable.h>.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/powerpc/sysdep.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e0549e..9d9828c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-03 Andreas Schwab <aschwab@redhat.com>
+
+ * sysdeps/powerpc/sysdep.h (PPC_FEATURE_ARCH_2_06): Fix value.
+ (PPC_FEATURE_HAS_VSX): Likewise.
+
2009-07-03 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/multiarch/strcspn-c.c: Minor cleanups.
diff --git a/sysdeps/powerpc/sysdep.h b/sysdeps/powerpc/sysdep.h
index 43edeb7..f5c79c5 100644
--- a/sysdeps/powerpc/sysdep.h
+++ b/sysdeps/powerpc/sysdep.h
@@ -44,8 +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_ARCH_2_06 0x00000100 /* ISA 2.06 */
+#define PPC_FEATURE_HAS_VSX 0x00000080 /* P7 Vector Extension. */
#define PPC_FEATURE_970 (PPC_FEATURE_POWER4 + PPC_FEATURE_HAS_ALTIVEC)
#ifdef __ASSEMBLER__