From patchwork Wed Apr 13 09:56:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 996 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:48:07 -0000 Delivered-To: patches@linaro.org Received: by 10.68.59.138 with SMTP id z10cs292151pbq; Wed, 13 Apr 2011 02:56:53 -0700 (PDT) Received: by 10.216.62.19 with SMTP id x19mr5292080wec.4.1302688611806; Wed, 13 Apr 2011 02:56:51 -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 h49si714313wer.34.2011.04.13.02.56.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Apr 2011 02:56:50 -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 33so404778wyb.37 for ; Wed, 13 Apr 2011 02:56:49 -0700 (PDT) Received: by 10.216.244.71 with SMTP id l49mr5126252wer.13.1302688609699; Wed, 13 Apr 2011 02:56:49 -0700 (PDT) Received: from e200948.peterhouse.linaro.org (fw-lnat.cambridge.arm.com [217.140.96.63]) by mx.google.com with ESMTPS id b20sm221901wbb.67.2011.04.13.02.56.48 (version=SSLv3 cipher=OTHER); Wed, 13 Apr 2011 02:56:48 -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: Wed, 13 Apr 2011 10:56:36 +0100 Message-Id: <1302688597-2969-2-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1302688597-2969-1-git-send-email-dave.martin@linaro.org> References: <1302688597-2969-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 */