[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86-64: Treat R_X86_64_PLT32 as R_X86_64_PC32
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] x86-64: Treat R_X86_64_PLT32 as R_X86_64_PC32 |
Date: |
Tue, 20 Feb 2018 18:16:03 +0100 |
User-agent: |
Mutt/1.3.28i |
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 <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
Daniel