diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2015-08-07 14:43:38 -0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2015-08-07 15:01:50 -0400 |
commit | 0d04c03829f9b88b86c5a47b340731a4cb39fdcb (patch) | |
tree | 007234ad2c39218f53c3c6eaff46d4fc103c3360 /libgloss/or1k | |
parent | 49380b7ee362970ac6b553335968e74bc1186e0d (diff) | |
download | cygnal-0d04c03829f9b88b86c5a47b340731a4cb39fdcb.tar.gz cygnal-0d04c03829f9b88b86c5a47b340731a4cb39fdcb.tar.bz2 cygnal-0d04c03829f9b88b86c5a47b340731a4cb39fdcb.zip |
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
Diffstat (limited to 'libgloss/or1k')
-rw-r--r-- | libgloss/or1k/sbrk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/or1k/sbrk.c b/libgloss/or1k/sbrk.c index 5bd7044f7..0c3e66e87 100644 --- a/libgloss/or1k/sbrk.c +++ b/libgloss/or1k/sbrk.c @@ -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) |