This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Documentation libc sbrk stack_ptr
- From: Shaun Jackman <sjackman at gmail dot com>
- To: Carl Denzen Van <carl at vandenzen dot nl>
- Cc: newlib at sources dot redhat dot com
- Date: Wed, 15 Feb 2006 16:45:51 -0700
- Subject: Re: Documentation libc sbrk stack_ptr
- References: <29958647-AA91-4B55-B341-CF7204344D52@vandenzen.nl>
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
On 2/15/06, Carl Denzen Van <carl@vandenzen.nl> wrote:
> The definition in the documentation about minimal stub creation for
> sbrk does not work: the variable stack_ptr is not known.
You can search the other targets for a possible definition of
stack_ptr. Try `grep -r stack_ptr libgloss'. For example:
register char * stack_ptr asm ("sp");
Cheers,
Shaun