Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/or1k/impure.c')
-rw-r--r--libgloss/or1k/impure.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/or1k/impure.c b/libgloss/or1k/impure.c
index f4eb4ad19..e94fd637c 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