[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071018224550.GD3459@bingen.suse.de>
Date: Fri, 19 Oct 2007 00:45:51 +0200
From: Andi Kleen <ak@...e.de>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Sam Ravnborg <sam@...nborg.org>, ak@...e.de, bwalle@...e.de,
linux-kernel@...r.kernel.org, kexec@...ts.infradead.org,
vgoyal@...ibm.com
Subject: Re: [patch 1/3] Add BSS to resource tree
On Thu, Oct 18, 2007 at 03:37:51PM -0700, Andrew Morton wrote:
> On Fri, 19 Oct 2007 00:18:13 +0200
> Sam Ravnborg <sam@...nborg.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists