From patchwork Mon Apr 4 09:24:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 888 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:06 -0000 Delivered-To: patches@linaro.org Received: by 10.204.151.92 with SMTP id b28cs55735bkw; Mon, 4 Apr 2011 02:25:08 -0700 (PDT) Received: by 10.227.163.13 with SMTP id y13mr1048854wbx.56.1301909107008; Mon, 04 Apr 2011 02:25:07 -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 r5si9681707wby.116.2011.04.04.02.25.05 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Apr 2011 02:25:05 -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 33so5350249wyb.37 for ; Mon, 04 Apr 2011 02:25:05 -0700 (PDT) Received: by 10.227.39.88 with SMTP id f24mr6972310wbe.88.1301909105181; Mon, 04 Apr 2011 02:25:05 -0700 (PDT) Received: from e200948.peterhouse.linaro.org (fw-lnat.cambridge.arm.com [217.140.96.63]) by mx.google.com with ESMTPS id h11sm2799518wbc.26.2011.04.04.02.25.02 (version=SSLv3 cipher=OTHER); Mon, 04 Apr 2011 02:25:03 -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: Mon, 4 Apr 2011 10:24:51 +0100 Message-Id: <1301909092-24527-1-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.1 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 */