From patchwork Fri Apr 1 16:21:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 882 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:46:57 -0000 Delivered-To: patches@linaro.org Received: by 10.42.161.68 with SMTP id s4cs226285icx; Fri, 1 Apr 2011 09:21:43 -0700 (PDT) Received: by 10.213.4.71 with SMTP id 7mr469695ebq.69.1301674902913; Fri, 01 Apr 2011 09:21:42 -0700 (PDT) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id a15si2444069eei.35.2011.04.01.09.21.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 09:21:42 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) smtp.mail=dave.martin@linaro.org Received: by mail-ww0-f50.google.com with SMTP id 33so4131042wwc.31 for ; Fri, 01 Apr 2011 09:21:41 -0700 (PDT) Received: by 10.227.150.207 with SMTP id z15mr4262376wbv.149.1301674901454; Fri, 01 Apr 2011 09:21:41 -0700 (PDT) Received: from e200948.peterhouse.linaro.org (fw-lnat.cambridge.arm.com [217.140.96.63]) by mx.google.com with ESMTPS id y29sm1364379wbd.4.2011.04.01.09.21.39 (version=SSLv3 cipher=OTHER); Fri, 01 Apr 2011 09:21:40 -0700 (PDT) From: Dave Martin To: linux-arm-kernel@lists.infradead.org Cc: patches@linaro.org, Will Deacon , Nicolas Pitre , Ulrich Weigand Subject: [PATCH 1/2] ARM: ELF: Define new core note type for VFP registers Date: Fri, 1 Apr 2011 17:21:27 +0100 Message-Id: <1301674888-16842-2-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1301674888-16842-1-git-send-email-dave.martin@linaro.org> References: <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 Acked-by: Will Deacon --- 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. */