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 | |
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')
-rw-r--r-- | libgloss/ChangeLog | 4 | ||||
-rw-r--r-- | libgloss/or1k/sbrk.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 46acd561e..eb74e93c2 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,7 @@ +2015-08-07 Stefan Wallentowitz <stefan.wallentowitz@tum.de> + + * or1k/sbrk.c: Make heap end globally visible + 2015-08-04 Nick Clifton <nickc@redhat.com> * rl78/rl78-sim.ld: Provide a value for __rl78_abs__. 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) |