Commit Graph

4 Commits

Author SHA1 Message Date
Jeff Johnston 8fcb67cf0b 2008-04-14 Patrick Mansfield <patmans@us.ibm.com>
* spu/sbrk.c: Remove "extern int errno", use whatever is supplied
        by sys/errno.h.
2008-04-15 19:59:18 +00:00
Jeff Johnston eae493d8a8 2007-10-01 Patrick Mansfield <patmans@us.ibm.com>
* spu/sbrk.c: Use the current stack pointer value rather than the
        maximum available memory to determine the amount of heap space
        left. Without this change calling sbrk() can allocate space that
        is currently in use on the stack.
2007-10-01 18:22:50 +00:00
Ben Elliston 538b71077d * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
that GCC runtime stack checking works.  Handle the backchain, too.
2007-03-01 23:08:21 +00:00
Jeff Johnston 0486bb7f0d 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
*  configure.in: Add spu support.
        *  configure: Regenerated.
        *  spu/Makefile.in: New file.
        *  spu/aclocal.m4: Ditto.
        *  spu/configure: Ditto.
        *  spu/configure.in: Ditto.
        *  spu/crt0.c: Ditto.
        *  spu/exit.c: Ditto.
        *  spu/init.c: Ditto.
        *  spu/jsre.h: Ditto.
        *  spu/sbrk.c: Ditto.
        *  spu/syscalls.c: Ditto.
2006-08-16 21:15:03 +00:00