bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/19807] [2.26 regression] R_386_GOT32X optimization breaks linux


From: hjl.tools at gmail dot com
Subject: [Bug ld/19807] [2.26 regression] R_386_GOT32X optimization breaks linux kernel
Date: Tue, 15 Mar 2016 15:20:08 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19807

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |19827

--- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Fabian Vogt from comment #9)
> I just tested your patch again on a clean kernel tree, it seems that my
> previous test was somehow wrong.
> 
> Using "-pie" as flag to LD causes
> 
>          leal    (_bss-4)(%ebp), %esi
>          leal    (_bss-4)(%ebx), %edi
> 
> in arch/x86/boot/compressed/head_32.S to be
> 
>          leal    -0x4(%ebp), %esi
>          leal    -0x4(%ebx), %edi
> 
> instead of the expected
> 
>          leal    0x59a27c(%ebp),%esi
>          leal    0x59a27c(%ebx),%edi
> 
> so the kernel does not copy itself correctly.

I opened:

https://sourceware.org/bugzilla/show_bug.cgi?id=19827


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=19827
[Bug 19827] Wrong relocation with linker-defined symbol in PIE
-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]