This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Gold] problem building linux kernel
Markus Trippelsdorf <markus@trippelsdorf.de> writes:
> Like I wrote before:
Sorry, missed it.
> Program Headers:
> Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
> LOAD 0x200000 0xffffffff81000000 0x0000000001000000 0x5ab000 0x5ab000 R E 0xffffffff816c8000
> LOAD 0x7ab000 0xffffffff815ab000 0x00000000015ab000 0x064628 0x064628 RWE 0xffffffff816c8000
> LOAD 0x810000 0xffffffffff600000 0x0000000001610000 0x0008c8 0x0008c8 R E 0xffffffff816c8000
> LOAD 0x811000 0x0000000000000000 0x0000000001611000 0x011f80 0x011f80 RW 0xffffffff816c8000
> LOAD 0x823000 0xffffffff81623000 0x0000000001623000 0x0c5000 0x0c5000 RWE 0xffffffff816c8000
> NOTE 0x658a28 0xffffffff81458a28 0x0000000001458a28 0x000040 0x000040 0x4
Doug, I don't know what is going on, but there is clearly a 32-x-64
problem somewhere. All these values are sign extended from 32 bits to
64 bits. Try building gold with -m32.
Ian