gold patch committed (Was: Re: Help needed to track down bug: linking Linux kernel with gold creates unbootable kernel)

Ian Lance Taylor iant@google.com
Fri Apr 23 14:43:00 GMT 2010


"H.J. Lu" <hjl.tools@gmail.com> writes:

> [hjl@gnu-6 alignment-2]$ cat foo.s
> 	.text
> 	.byte 0
> 	.p2align 14
> 	.data
> foo:
> 	.byte 1

Note that the .p2align directive here applies to the .text section,
not to the .data section.

> 1. foo isn't aligned at 1<<14 bytes.

You didn't ask it to be.

> 2. -z max-page-size=0x1000 isn' honored on the last segment.

I don't know what you mean here.

Ian



More information about the Binutils mailing list