Help needed to track down bug: linking Linux kernel with gold creates unbootable kernel
Ian Lance Taylor
iant@google.com
Thu Apr 22 23:57:00 GMT 2010
"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
More information about the Binutils
mailing list