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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to