On Thu, Oct 18, 2007 at 03:37:51PM -0700, Andrew Morton wrote:
quoted text > On Fri, 19 Oct 2007 00:18:13 +0200
> Sam Ravnborg <sam@ravnborg.org> wrote:
>
> > And I recall that extern char sym[] is considered correct by binutils
> > people - but I'm not 100% sure and google did not give me an appropriate hit.
>
> An ancient memory tells me that these things are traditionally
> declared as plain old int:
>
> extern int start;
> extern int edata;
int is probably one of the less useful types. Typical operation is computing
the difference between two symbols in bytes. &int without cast would give
you a useless scaled size.
-Andi
-
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [patch 1/3] Add BSS to resource tree , Andi Kleen , (Thu Oct 18, 6:45 pm)