Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vxcgs-0006cx-A5 for mharc-grub-devel@gnu.org; Mon, 30 Dec 2013 08:15:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxcgl-0006bs-BM for grub-devel@gnu.org; Mon, 30 Dec 2013 08:15:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vxcgf-0005Gp-S0 for grub-devel@gnu.org; Mon, 30 Dec 2013 08:15:23 -0500 Received: from mail-we0-f178.google.com ([74.125.82.178]:58673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxcgf-0005Gf-MD for grub-devel@gnu.org; Mon, 30 Dec 2013 08:15:17 -0500 Received: by mail-we0-f178.google.com with SMTP id u57so9943796wes.23 for ; Mon, 30 Dec 2013 05:15:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=DZBoIBmSw0koZ8fe64CqHzwg3ZMkN7eWGJHVLQyq5aE=; b=AcfB0WIEeXilqf86sOcCFV6w5qxl/FZ7G69GFuYoUfnzf4WZlVkqUM46E1xP8cgdmj ScuAtUwa9bWLtx/RRFJHVTAuAGkS7g0E+GlSKmiujYRGomAwVjR76f0RAbQ8Oa45Mh8+ yqlUK2XPlQbRsuAG53JQeN5b9EjKRuS+NUhLJD1abO6+v1bqae2reC4MxE0shvRQmp/H EP3dpbkqOTsiBIffeFE8Z/LI2eI4/73O1QhOaAk40BgudcwGckE+nysKL2dQUVuVgOUq jklrdCZkUPa/vOQ4F3Mk7uqDA2VPgjDl+NatCiJE+EOZNrZPLfOxvCf2sKcVoj1vsdPq xTcQ== X-Gm-Message-State: ALoCoQmln+LnEf4nJyCPu9/UzKfYAvcvVUleEjHDKrxtn/04YfJdurckB7WJGgqQeOFHlfqfDAcw X-Received: by 10.194.57.130 with SMTP id i2mr15414618wjq.69.1388409316613; Mon, 30 Dec 2013 05:15:16 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [46.235.226.95]) by mx.google.com with ESMTPSA id kr10sm25764525wjc.22.2013.12.30.05.15.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 30 Dec 2013 05:15:15 -0800 (PST) Date: Mon, 30 Dec 2013 13:15:17 +0000 From: Leif Lindholm To: The development of GNU GRUB Subject: Re: aarch64: relocation 0x105 is not implemented yet. Message-ID: <20131230131517.GF29433@bivouac.eciton.net> References: <1388171255.918.80.camel@opensuse.site> <52BF0657.806@gmail.com> <1388252883.918.88.camel@opensuse.site> <1388257239.918.92.camel@opensuse.site> <1388294644.918.99.camel@opensuse.site> <1388325687.918.107.camel@opensuse.site> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1388325687.918.107.camel@opensuse.site> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.178 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 13:15:28 -0000 Pushed after test and discussion with Vladimir on irc. On Sun, Dec 29, 2013 at 06:01:27PM +0400, Andrey Borzenkov wrote: > В Вс, 29/12/2013 в 13:09 +0000, Leif Lindholm пишет: > > Umm, I'm officially going to go make some coffee. > > > > On arm64_efi stripflags obviously. > > > > Yes, this works (i.e. - grub-mkimage does not fail). Of course, module > relocation happens at run time and I do not have hardware or software to > test it - could you do it? You can download RPM here: > > https://api.opensuse.org/build/home:arvidjaar:grub2-next:ARM/openSUSE_Factory/aarch64/grub2/grub2-arm64-efi-2.02~beta2-225.1.aarch64.rpm > > From: Andrey Borzenkov > Subject: [PATCH] strip .eh_frame section from kernel > > Fixes grub-mkimage error > > ./grub-mkimage: error: relocation 0x105 is not implemented yet. > > Suggested by Leif Lindholm > > --- > grub-core/Makefile.core.def | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def > index c916246..42443bc 100644 > --- a/grub-core/Makefile.core.def > +++ b/grub-core/Makefile.core.def > @@ -66,7 +66,7 @@ kernel = { > arm_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version'; > > arm64_efi_ldflags = '-Wl,-r,-d'; > - arm64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version'; > + arm64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version -R .eh_frame'; > > i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; > i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x9000'; > -- > tg: (093dec7..) u/arm64-cmodel-large (depends on: master) > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel