This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Help needed to track down bug: linking Linux kernel with gold creates unbootable kernel
"H.J. Lu" <hjl.tools@gmail.com> writes:
> Linux kernel linker scripts needs to align .rodata section to 2MB:
>
> . = ALIGN((1 << 21));
>
> Since gold can only align to 4K, gold can't be used on Linux
> kernel.
gold can of course align to larger values. That's why both GNU ld and
gold have the -z maxpagesize option. Are the Linux kernel developers
willing to use that option?
Ian