44 lines
1.7 KiB
Diff
44 lines
1.7 KiB
Diff
|
diff -Naur _ports//sysdeps/unix/sysv/linux/arm/dl-procinfo.c ports//sysdeps/unix/sysv/linux/arm/dl-procinfo.c
|
||
|
--- _ports//sysdeps/unix/sysv/linux/arm/dl-procinfo.c 2006-09-21 20:39:51.000000000 +0200
|
||
|
+++ ports//sysdeps/unix/sysv/linux/arm/dl-procinfo.c 2009-05-15 21:23:43.166714113 +0200
|
||
|
@@ -47,12 +47,12 @@
|
||
|
#if !defined PROCINFO_DECL && defined SHARED
|
||
|
._dl_arm_cap_flags
|
||
|
#else
|
||
|
-PROCINFO_CLASS const char _dl_arm_cap_flags[10][10]
|
||
|
+PROCINFO_CLASS const char _dl_arm_cap_flags[13][10]
|
||
|
#endif
|
||
|
#ifndef PROCINFO_DECL
|
||
|
= {
|
||
|
"swp", "half", "thumb", "26bit", "fast-mult", "fpa", "vfp", "edsp",
|
||
|
- "java", "iwmmxt",
|
||
|
+ "java", "iwmmxt", "crunch", "thumbee", "neon",
|
||
|
}
|
||
|
#endif
|
||
|
#if !defined SHARED || defined PROCINFO_DECL
|
||
|
diff -Naur _ports//sysdeps/unix/sysv/linux/arm/dl-procinfo.h ports//sysdeps/unix/sysv/linux/arm/dl-procinfo.h
|
||
|
--- _ports//sysdeps/unix/sysv/linux/arm/dl-procinfo.h 2006-09-21 20:39:51.000000000 +0200
|
||
|
+++ ports//sysdeps/unix/sysv/linux/arm/dl-procinfo.h 2009-05-15 21:23:43.166714113 +0200
|
||
|
@@ -24,7 +24,7 @@
|
||
|
#include <ldsodefs.h>
|
||
|
#include <sysdep.h>
|
||
|
|
||
|
-#define _DL_HWCAP_COUNT 10
|
||
|
+#define _DL_HWCAP_COUNT 13
|
||
|
|
||
|
/* The kernel provides platform data but it is not interesting. */
|
||
|
#define _DL_HWCAP_PLATFORM 0
|
||
|
diff -Naur _ports//sysdeps/unix/sysv/linux/arm/sysdep.h ports//sysdeps/unix/sysv/linux/arm/sysdep.h
|
||
|
--- _ports//sysdeps/unix/sysv/linux/arm/sysdep.h 2009-05-15 18:56:52.000000000 +0200
|
||
|
+++ ports//sysdeps/unix/sysv/linux/arm/sysdep.h 2009-05-15 21:23:43.166714113 +0200
|
||
|
@@ -55,6 +55,9 @@
|
||
|
#define HWCAP_ARM_EDSP 128
|
||
|
#define HWCAP_ARM_JAVA 256
|
||
|
#define HWCAP_ARM_IWMMXT 512
|
||
|
+#define HWCAP_ARM_CRUNCH 1024
|
||
|
+#define HWCAP_ARM_THUMBEE 2048
|
||
|
+#define HWCAP_ARM_NEON 4096
|
||
|
|
||
|
#ifdef __ASSEMBLER__
|
||
|
|