[patch 1/3] Add BSS to resource tree

Andi Kleen ak at suse.de
Thu Oct 18 18:45:51 EDT 2007

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 at 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.


More information about the kexec mailing list