This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] or1k: Make heap end globally visible


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0d04c03829f9b88b86c5a47b340731a4cb39fdcb

commit 0d04c03829f9b88b86c5a47b340731a4cb39fdcb
Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Fri Aug 7 14:43:38 2015 -0400

    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

Diff:
---
 libgloss/ChangeLog   | 4 ++++
 libgloss/or1k/sbrk.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 46acd56..eb74e93 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 5bd7044..0c3e66e 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]