Re: [PATCH 2/6] FRV: Fix FRV arch compile errors [try #3]

From: David Howells
Date: Thu Jul 06 2006 - 14:27:48 EST


Andrew Morton <akpm@xxxxxxxx> wrote:

> ocrap, I didn't read this bit. Really?

Really. See the reply I sent a short while ago for more details.

> We skip the section tag on the declaration all over the place and keeping
> them in sync is going to be quite unreliable due to lack of compiler
> checking.

Yeah. I've added quite a few previously to get FRV to link.

> So this wants to be __meminitdata. Problem. How does it manifest on FRV?
> A linker error or a mysterious crash?

A linker error: the offset from the GP-register position to the variable
exceeds what'll fit in an address offset field.

David
-
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/