Documentation libc sbrk stack_ptr

Shaun Jackman sjackman@gmail.com
Wed Feb 15 23:45:00 GMT 2006


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



More information about the Newlib mailing list