2006-05-24 01:04:47

by vamsi krishna

[permalink] [raw]
Subject: Query regarding _etext, _edata, _end.

Hello All,

Are the virtual address's &_etext, &_edata and &_end , always
correspond to END OF TEXT, END OF DATA and END OF BSS ?

If yes , will these be always supported in the newer kernels coming in future?

Thank you,
Vamsi.


2006-05-24 01:23:41

by Arjan van de Ven

[permalink] [raw]
Subject: Re: Query regarding _etext, _edata, _end.


> If yes , will these be always supported in the newer kernels coming in future?


that's doubtful; there is no such guarantee of any kind of kernel
internals in linux... I don't see these being any kind of special
exception.

you made me curious... what do you want to use these for?

2006-05-25 00:30:51

by H. Peter Anvin

[permalink] [raw]
Subject: Re: Query regarding _etext, _edata, _end.

Followup to: <[email protected]>
By author: "vamsi krishna" <[email protected]>
In newsgroup: linux.dev.kernel
>
> Hello All,
>
> Are the virtual address's &_etext, &_edata and &_end , always
> correspond to END OF TEXT, END OF DATA and END OF BSS ?
>
> If yes , will these be always supported in the newer kernels coming in future?
>

That's a feature of the linker, not of the kernel.

I don't think they'll go away, but they may not be supported on all platforms.

-ha