From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [RFC PATCH 04/10] arm64: add EFI little endian constants to linker script Date: Wed, 30 Jul 2014 15:22:10 +0100 Message-ID: <20140730142209.GC8989@arm.com> References: <1405955785-13477-1-git-send-email-ard.biesheuvel@linaro.org> <1405955785-13477-5-git-send-email-ard.biesheuvel@linaro.org> <20140730141805.GA15082@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20140730141805.GA15082-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming Cc: Ard Biesheuvel , "matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org" , "linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "roy.franz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "msalter-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org" , "victor.kamensky-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "steve.capper-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" List-Id: linux-efi@vger.kernel.org On Wed, Jul 30, 2014 at 03:18:05PM +0100, Matt Fleming wrote: > On Mon, 21 Jul, at 05:16:19PM, Ard Biesheuvel wrote: > > Similar to how text offset and kernel size are mangled to produce little > > endian constants for the Image header regardless of the endianness of the > > kernel, this adds a number of constants used in the EFI PE/COFF header which > > can only be calculated (and byte swapped) by the linker. > > > > Signed-off-by: Ard Biesheuvel > > --- > > arch/arm64/kernel/image.h | 16 +++++++++++++++- > > 1 file changed, 15 insertions(+), 1 deletion(-) > > Where is this file? I can't find it in Linus' tree. It's queued in the arm64 tree for 3.17 (should also appear in -next at the moment). See commit a2c1d73b94ed ("arm64: Update the Image header"). Will