From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755874AbaIDVh7 (ORCPT ); Thu, 4 Sep 2014 17:37:59 -0400 Received: from mail-we0-f182.google.com ([74.125.82.182]:37371 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755573AbaIDVh5 (ORCPT ); Thu, 4 Sep 2014 17:37:57 -0400 Date: Thu, 4 Sep 2014 22:37:53 +0100 From: Matt Fleming To: Ard Biesheuvel Cc: Michael Brown , Maarten Lankhorst , Ulf Winkelvos , Matt Fleming , LKML , "x86@kernel.org" , "H. Peter Anvin" , "linux-efi@vger.kernel.org" , Seth Forshee , Matthew Garrett Subject: Re: [REGRESSION] "efi: efistub: Convert into static library" and preparation patches Message-ID: <20140904213753.GM3001@console-pimps.org> References: <5406D0DB.90401@canonical.com> <54073409.6030004@canonical.com> <20140903175948.GH3001@console-pimps.org> <54084376.8090002@canonical.com> <540860F1.6060801@fensystems.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 04 Sep, at 11:25:48PM, Ard Biesheuvel wrote: > > As it turns out, this breaks 32-bit, and the linker script is shared. > > So I suggest that we go with Matt's suggestion, i.e., move/clone the > GOT fixup code so that it runs exactly once in each code path, but > early enough so that the embedded EFI application gets the treatment > too. > And don't forget head_32.S ... Thanks Ard, I'll take a look in the morning. -- Matt Fleming, Intel Open Source Technology Center