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: ccoutant at google dot com
Subject: [Bug gold/16788] Gold produces unbootable Linux kernel
Date: Tue, 01 Apr 2014 17:31:45 +0000

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

--- Comment #8 from Cary Coutant <ccoutant at google dot com> ---
> -ffffffff8100021e:      48 c7 c7 10 e7 75 81    mov   
> $0xffffffff8175e710,%rdi
> +ffffffff8100021e:      48 c7 c7 c8 cf 78 81    mov   
> $0xffffffff8178cfc8,%rdi

> -ffffffff810002cc:      48 c7 c7 3a e6 75 81    mov   
> $0xffffffff8175e63a,%rdi
> +ffffffff810002cc:      48 c7 c7 6c e6 75 81    mov   
> $0xffffffff8175e66c,%rdi

Differences like these could be the problem, but it's more likely that these
just reflect slight differences in layout between the two linkers (the operand
addresses are in .rodata).

I'm not sure why gold is bumping the text segment up to offset 0x20000 in the
file, though; it may have something to do with the way we handle ALIGN in the
script. Theoretically, the virtual addresses are the same in both files, so the
results should be equivalent, but it's possible that the kernel really depends
on it starting at 0x1000.

-cary

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