This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: _sbrk: undefined reference to `end' problem
- From: "Jonathan S. Shapiro" <shap at eros-os dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: "lavarini dot roberto at libero dot it" <lavarini dot roberto at libero dot it>, newlib <newlib at sources dot redhat dot com>
- Date: Tue, 27 May 2008 15:07:09 -0400
- Subject: Re: _sbrk: undefined reference to `end' problem
- References: <K1J01L$3A765F4C7EBB6CFFE299214B1AFC2949@libero.it> <483C0DAD.80403@redhat.com>
On Tue, 2008-05-27 at 14:33 +0100, Nick Clifton wrote:
> Note: putting the "PROVIDE (end = .);" at the end of your linker script
> is incorrect because presumably you have also provided the location of
> the start of the stack...
It is not clear (to me) why start of stack should be encoded within the
ELF file.