public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] or1k: Make heap end globally visible
@ 2015-08-07 19:02 Jeff Johnston
  0 siblings, 0 replies; only message in thread
From: Jeff Johnston @ 2015-08-07 19:02 UTC (permalink / raw)
  To: newlib-cvs

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-07 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 19:02 [newlib-cygwin] or1k: Make heap end globally visible Jeff Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).