__curbrk (and &_end)

Robert Millan zeratul2@wanadoo.es
Tue Feb 24 11:36:00 GMT 2004


On Mon, Feb 23, 2004 at 01:24:06PM -0800, Roland McGrath wrote:
> And besides why not just use initialized
> 
> void *__curbrk = &_end;
> 
> ? True, that does do the reloc even before brk is called the first time,
> but you will want it.

Yep. I'll change that.

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T., Ainulindale (Silmarillion)



More information about the Libc-alpha mailing list