Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpuarea

From: Christoph Lameter
Date: Fri Jun 20 2008 - 16:55:27 EST


On Fri, 20 Jun 2008, Eric W. Biederman wrote:

> at __per_coup_load. But it is absolute Ugh.
>
> It might be worth saying something like.
> .data.percpu.start : AT(.data.percpu.dummy - LOAD_OFFSET) {
> DATA(0)
> . = ALIGN(align);
> __per_cpu_load = . ;
> }
> To make __per_cpu_load a relative symbol. ld has a bad habit of taking
> symbols out of empty sections and making them absolute. Which is why
> I added the DATA(0).
>
> Still I don't think that would be the 64bit problem.

Ahh.. Good idea. I had a long fight with the loader before it did the
right thing.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/