From patchwork Tue Apr 5 08:59:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 903 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:14 -0000 Delivered-To: patches@linaro.org Received: by 10.68.42.132 with SMTP id o4cs130787pbl; Tue, 5 Apr 2011 01:59:49 -0700 (PDT) Received: by 10.227.139.19 with SMTP id c19mr8241911wbu.13.1301993987854; Tue, 05 Apr 2011 01:59:47 -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 bc3si11647771wbb.27.2011.04.05.01.59.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2011 01:59:47 -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 wwc33 with SMTP id 33so162416wwc.31 for ; Tue, 05 Apr 2011 01:59:46 -0700 (PDT) Received: by 10.216.81.69 with SMTP id l47mr4701159wee.78.1301993986760; Tue, 05 Apr 2011 01:59:46 -0700 (PDT) Received: from e200948.peterhouse.linaro.org (fw-lnat.cambridge.arm.com [217.140.96.63]) by mx.google.com with ESMTPS id bs4sm3411003wbb.18.2011.04.05.01.59.45 (version=SSLv3 cipher=OTHER); Tue, 05 Apr 2011 01:59:46 -0700 (PDT) From: Dave Martin To: linux-arm-kernel@lists.infradead.org Cc: patches@linaro.org, Will Deacon , Nicolas Pitre , Ulrich Weigand Subject: [PATCH v4 1/2] ARM: ELF: Define new core note type for VFP registers Date: Tue, 5 Apr 2011 09:59:33 +0100 Message-Id: <1301993974-2421-2-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1301993974-2421-1-git-send-email-dave.martin@linaro.org> References: <1301993974-2421-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 */