Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eoBWc-0000Mr-Ho for mharc-grub-devel@gnu.org; Tue, 20 Feb 2018 12:16:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoBWV-0000Ll-KF for grub-devel@gnu.org; Tue, 20 Feb 2018 12:16:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoBWR-0008G1-B8 for grub-devel@gnu.org; Tue, 20 Feb 2018 12:16:11 -0500 Received: from boksu.net-space.pl ([185.15.1.105]:42242) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1eoBWQ-0008Eb-W5 for grub-devel@gnu.org; Tue, 20 Feb 2018 12:16:07 -0500 Received: (from localhost user: 'dkiper' uid#4000 fake: STDIN (dkiper@boksu.net-space.pl)) by router-fw-old.local.net-space.pl id S1828136AbeBTRQD (ORCPT ); Tue, 20 Feb 2018 18:16:03 +0100 Date: Tue, 20 Feb 2018 18:16:03 +0100 From: Daniel Kiper To: hjl.tools@gmail.com Cc: grub-devel@gnu.org Subject: Re: [PATCH] x86-64: Treat R_X86_64_PLT32 as R_X86_64_PC32 Message-ID: <20180220171603.GD29532@router-fw-old.local.net-space.pl> References: <20180217144728.GA8637@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180217144728.GA8637@gmail.com> User-Agent: Mutt/1.3.28i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.15.1.105 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 17:16:17 -0000 On Sat, Feb 17, 2018 at 06:47:28AM -0800, H.J. Lu wrote: > Starting from binutils commit bd7ab16b4537788ad53521c45469a1bdae84ad4a: > > https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=bd7ab16b4537788ad53521c45469a1bdae84ad4a > > x86-64 assembler generates R_X86_64_PLT32, instead of R_X86_64_PC32, for > 32-bit PC-relative branches. Grub2 should treat R_X86_64_PLT32 as > R_X86_64_PC32. > > Signed-off-by: H.J. Lu Reviewed-by: Daniel Kiper Daniel