bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/16788] Gold produces unbootable Linux kernel


From: luto at mit dot edu
Subject: [Bug gold/16788] Gold produces unbootable Linux kernel
Date: Tue, 01 Apr 2014 17:25:53 +0000

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

--- Comment #7 from Andy Lutomirski <luto at mit dot edu> ---
(In reply to Cary Coutant from comment #6)
> (In reply to Andy Lutomirski from comment #4)
> > It looks like gold has a different interpretation of what ":text = 0x9090"
> > means than the bfd linker.  Can you try changing that to ":text =
> > 0x90909090" in arch/x86/kernel/vmlinux.lds.S?
> > 
> > This is definitely a gold bug, or at least a difference between gold and
> > bfd, but I doubt it's causing your problem, since using :text = 0x00009090
> > on bfd still produces a working kernel for me.
> > 
> > That being said, I just generated a working kernel with GNU gold (version
> > 2.23.2) 1.11.  Can you post a kernel image or a config or something?
> 
> Yes, in gold, the fill value is always 4 bytes in length. There's a FIXME in
> the code to support arbitrary lengths, but that seems unlikely to be the
> problem here.

Fixing it for one and two bytes would be trivial :)

-- 
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]