glibc/ARM_glibc-2.10.1-local-no-hwcap.diff

20 lines
592 B
Diff
Raw Normal View History

# DP: Restricted hardware caps for ARM
# needs corresponding kernel-support
# see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/343602
---
ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
+++ ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
@@ -54,7 +54,7 @@
return GLRO(dl_arm_cap_flags)[idx];
};
-#define HWCAP_IMPORTANT (HWCAP_ARM_HALF | HWCAP_ARM_FAST_MULT)
+#define HWCAP_IMPORTANT (HWCAP_ARM_VFP | HWCAP_ARM_NEON)
static inline int
__attribute__ ((unused))