This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help needed to track down bug: linking Linux kernel with gold creates unbootable kernel


John Reiser <jreiser@bitwagon.com> writes:

> The differing .p_align values of 0x1000 vs 0x200000 indicate that
> gold has a bug interpreting the commands from the linker script
> for alignment of Elf64_Phdr.

It is perhaps worth noting that for x86_64 gold by default uses -z
max-page-size 0x1000 whereas the default for GNU ld is -z
max-page-size 0x200000.  While I haven't looked at the Linux linker
script, perhaps it is assuming the latter.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]