[patch 1/3] Add BSS to resource tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-Andi




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux