From: dave.martin@linaro.org (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: ELF: Define new core note type for VFP registers
Date: Fri, 1 Apr 2011 17:21:27 +0100 [thread overview]
Message-ID: <1301674888-16842-2-git-send-email-dave.martin@linaro.org> (raw)
In-Reply-To: <1301674888-16842-1-git-send-email-dave.martin@linaro.org>
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@linaro.org>
Acked-by: Will Deacon <Will.Deacon@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
next prev parent reply other threads:[~2011-04-01 16:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 16:21 [PATCH 0/2] ARM: ptrace: migrate to regsets and enable VFP coredumps Dave Martin
2011-04-01 16:21 ` Dave Martin [this message]
2011-04-01 17:02 ` [PATCH 1/2] ARM: ELF: Define new core note type for VFP registers Ulrich Weigand
2011-04-01 17:04 ` Dave Martin
2011-04-01 16:21 ` [PATCH 2/2] ARM: ptrace: Migrate to regsets framework Dave Martin
-- strict thread matches above, loose matches on Subject: below --
2011-04-04 9:24 [PATCH 1/2] ARM: ELF: Define new core note type for VFP registers Dave Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1301674888-16842-2-git-send-email-dave.martin@linaro.org \
--to=dave.martin@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).