about summary refs log tree commit diff
path: root/sysdeps/powerpc/dl-procinfo.h
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-24 15:33:32 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-24 15:33:32 -0500
commit2f063a6e843c788a05667e6d362d229b3b671920 (patch)
tree63f5d572bb7b5c9a51dc1772f6a794074f2f6dda /sysdeps/powerpc/dl-procinfo.h
parenta74ca98fdd80f1623fa0d6e96ab25f8c38850e32 (diff)
downloadglibc-2f063a6e843c788a05667e6d362d229b3b671920.tar.gz
glibc-2f063a6e843c788a05667e6d362d229b3b671920.tar.xz
glibc-2f063a6e843c788a05667e6d362d229b3b671920.zip
PowerPC: Enable POWER8 platform sans hwcap bits.
Diffstat (limited to 'sysdeps/powerpc/dl-procinfo.h')
-rw-r--r--sysdeps/powerpc/dl-procinfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/powerpc/dl-procinfo.h b/sysdeps/powerpc/dl-procinfo.h
index 568fe19dde..1c978ba62d 100644
--- a/sysdeps/powerpc/dl-procinfo.h
+++ b/sysdeps/powerpc/dl-procinfo.h
@@ -30,7 +30,7 @@
 #define HWCAP_IMPORTANT		(PPC_FEATURE_HAS_ALTIVEC \
 				+ PPC_FEATURE_HAS_DFP)
 
-#define _DL_PLATFORMS_COUNT	13
+#define _DL_PLATFORMS_COUNT	14
 
 #define _DL_FIRST_PLATFORM	32
 /* Mask to filter out platforms.  */
@@ -51,6 +51,7 @@
 #define PPC_PLATFORM_PPC440		10
 #define PPC_PLATFORM_PPC464		11
 #define PPC_PLATFORM_PPC476		12
+#define PPC_PLATFORM_POWER8		13
 
 static inline const char *
 __attribute__ ((unused))
@@ -111,6 +112,9 @@ _dl_string_platform (const char *str)
 	case '7':
 	  ret = _DL_FIRST_PLATFORM + PPC_PLATFORM_POWER7;
 	  break;
+	case '8':
+	  ret = _DL_FIRST_PLATFORM + PPC_PLATFORM_POWER8;
+	  break;
 	default:
 	  return -1;
 	}