or1k: Make heap end globally visible
Boards may change the initial value from _end to another value. * or1k/sbrk.c: Make heap end globally visible
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
extern uint32_t end; /* Set by linker. */
|
||||
uint32_t _or1k_heap_start = &end;
|
||||
static uint32_t _or1k_heap_end;
|
||||
uint32_t _or1k_heap_end;
|
||||
|
||||
void *
|
||||
_sbrk_r (struct _reent * reent, ptrdiff_t incr)
|
||||
|
Reference in New Issue
Block a user