public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] or1k: Add missing initialization of impure ptr
@ 2015-05-29 14:01 Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2015-05-29 14:01 UTC (permalink / raw)
  To: newlib-cvs

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

commit bb5cb3afb5749bf6a16c6e6266d610f92cc2ce4b
Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Tue May 26 15:32:19 2015 -0400

    or1k: Add missing initialization of impure ptr
    
        * or1k/impure.c: Fix initialization of impure ptr

Diff:
---
 libgloss/ChangeLog     | 4 ++++
 libgloss/or1k/impure.c | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 7605f36..3469fad 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,5 +1,9 @@
 2015-05-26  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
 
+	* or1k/impure.c: Fix initialization of impure ptr
+
+2015-05-26  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
+
 	* or1k/boards/optimsoc.S: Heap for gzll kernel
 
 2015-05-26  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
diff --git a/libgloss/or1k/impure.c b/libgloss/or1k/impure.c
index f4eb4ad..e94fd63 100644
--- a/libgloss/or1k/impure.c
+++ b/libgloss/or1k/impure.c
@@ -94,6 +94,9 @@ _or1k_libc_impure_init (void)
 	_REENT_INIT_PTR (_impure_ptr);
 	_REENT_INIT_PTR (_or1k_exception_impure_ptr);
 
+	// Use the standard impure ptr during normal software run
+	_or1k_impure_ptr = _impure_ptr;
+
 	// Set current to standard impure pointer
 	_or1k_current_impure_ptr = _impure_ptr;
 #endif


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [newlib-cygwin] or1k: Add missing initialization of impure ptr
@ 2015-05-26 19:33 Jeff Johnston
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Johnston @ 2015-05-26 19:33 UTC (permalink / raw)
  To: newlib-cvs

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

commit d4aa267089e2479297517268baca23f3df7682f6
Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Tue May 26 15:32:19 2015 -0400

    or1k: Add missing initialization of impure ptr
    
        * or1k/impure.c: Fix initialization of impure ptr

Diff:
---
 libgloss/ChangeLog     | 4 ++++
 libgloss/or1k/impure.c | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 7605f36..3469fad 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,5 +1,9 @@
 2015-05-26  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
 
+	* or1k/impure.c: Fix initialization of impure ptr
+
+2015-05-26  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
+
 	* or1k/boards/optimsoc.S: Heap for gzll kernel
 
 2015-05-26  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>
diff --git a/libgloss/or1k/impure.c b/libgloss/or1k/impure.c
index f4eb4ad..e94fd63 100644
--- a/libgloss/or1k/impure.c
+++ b/libgloss/or1k/impure.c
@@ -94,6 +94,9 @@ _or1k_libc_impure_init (void)
 	_REENT_INIT_PTR (_impure_ptr);
 	_REENT_INIT_PTR (_or1k_exception_impure_ptr);
 
+	// Use the standard impure ptr during normal software run
+	_or1k_impure_ptr = _impure_ptr;
+
 	// Set current to standard impure pointer
 	_or1k_current_impure_ptr = _impure_ptr;
 #endif


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-29 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-29 14:01 [newlib-cygwin] or1k: Add missing initialization of impure ptr Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2015-05-26 19:33 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).