[PATCH 1/2] ARM: ELF: Define new core note type for VFP registers
Dave Martin
dave.martin at linaro.org
Fri Apr 1 12:21:27 EDT 2011
The VFP registers are not currently included in coredumps,
and there's no existing note type where they can sensibly be
included, so this patch defines a dedicated note type for them.
Signed-off-by: Dave Martin <dave.martin at linaro.org>
Acked-by: Will Deacon <Will.Deacon at arm.com>
---
arch/arm/include/asm/elf.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h
index c3cd875..0b4872d 100644
--- a/arch/arm/include/asm/elf.h
+++ b/arch/arm/include/asm/elf.h
@@ -62,6 +62,8 @@ typedef struct user_fp elf_fpregset_t;
#define R_ARM_THM_MOVW_ABS_NC 47
#define R_ARM_THM_MOVT_ABS 48
+#define NT_ARM_VFP 0x400
+
/*
* These are used to set parameters in the core dumps.
*/
--
1.7.1
More information about the linux-arm-kernel
mailing list