OSDN Git Service

target-arm: remind to keep arm features in sync with linux-user/elfload.c
authorBenoit Canet <benoit.canet@gmail.com>
Wed, 9 Nov 2011 07:32:59 +0000 (07:32 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 21 Apr 2012 18:04:51 +0000 (18:04 +0000)
Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h

index c208c80..d2f5c76 100644 (file)
@@ -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.  */