From patchwork Mon Apr 4 16:43:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 896 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:47:10 -0000 Delivered-To: patches@linaro.org Received: by 10.68.42.132 with SMTP id o4cs45382pbl; Mon, 4 Apr 2011 09:43:43 -0700 (PDT) Received: by 10.216.62.137 with SMTP id y9mr3937357wec.107.1301935422108; Mon, 04 Apr 2011 09:43:42 -0700 (PDT) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id f64si10337023wej.185.2011.04.04.09.43.41 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Apr 2011 09:43:42 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) smtp.mail=dave.martin@linaro.org Received: by wyb33 with SMTP id 33so5754419wyb.37 for ; Mon, 04 Apr 2011 09:43:40 -0700 (PDT) Received: by 10.227.207.7 with SMTP id fw7mr755416wbb.137.1301935420868; Mon, 04 Apr 2011 09:43:40 -0700 (PDT) Received: from e200948.peterhouse.linaro.org (fw-lnat.cambridge.arm.com [217.140.96.63]) by mx.google.com with ESMTPS id x1sm3019326wbh.2.2011.04.04.09.43.39 (version=SSLv3 cipher=OTHER); Mon, 04 Apr 2011 09:43:39 -0700 (PDT) From: Dave Martin To: linux-arm-kernel@lists.infradead.org Cc: patches@linaro.org, Will Deacon , Nicolas Pitre , Ulrich Weigand Subject: [PATCH v3 1/2] ARM: ELF: Define new core note type for VFP registers Date: Mon, 4 Apr 2011 17:43:25 +0100 Message-Id: <1301935406-10591-2-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1301935406-10591-1-git-send-email-dave.martin@linaro.org> References: <1301935406-10591-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 --- include/linux/elf.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/elf.h b/include/linux/elf.h index 4d60801..110821c 100644 --- a/include/linux/elf.h +++ b/include/linux/elf.h @@ -395,6 +395,7 @@ typedef struct elf64_shdr { #define NT_S390_CTRS 0x304 /* s390 control registers */ #define NT_S390_PREFIX 0x305 /* s390 prefix register */ #define NT_S390_LAST_BREAK 0x306 /* s390 breaking event address */ +#define NT_ARM_VFP 0x400 /* ARM VFP/NEON registers */ /* Note header in a PT_NOTE section */