From ce854d7cc3ba71e8d2a97e1fb33e13ac3283cbd4 Mon Sep 17 00:00:00 2001 From: Benoit Canet Date: Wed, 9 Nov 2011 07:32:59 +0000 Subject: [PATCH] target-arm: remind to keep arm features in sync with linux-user/elfload.c Signed-off-by: Benoit Canet Signed-off-by: Peter Maydell --- target-arm/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index c208c804aa..d2f5c760f5 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -360,6 +360,10 @@ enum arm_cpu_mode { #define ARM_IWMMXT_wCGR2 10 #define ARM_IWMMXT_wCGR3 11 +/* If adding a feature bit which corresponds to a Linux ELF + * HWCAP bit, remember to update the feature-bit-to-hwcap + * mapping in linux-user/elfload.c:get_elf_hwcap(). + */ enum arm_features { ARM_FEATURE_VFP, ARM_FEATURE_AUXCR, /* ARM1026 Auxiliary control register. */ -- 2.11.0