diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2015-05-26 15:32:19 -0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-05-27 13:30:20 +0200 |
commit | bb5cb3afb5749bf6a16c6e6266d610f92cc2ce4b (patch) | |
tree | f5a4130d16ae394eca88d76fe3bf5157c7841c2a /libgloss | |
parent | 5eb4a1666dffbeb3e823d5372c603ac930e6ba9f (diff) | |
download | cygnal-bb5cb3afb5749bf6a16c6e6266d610f92cc2ce4b.tar.gz cygnal-bb5cb3afb5749bf6a16c6e6266d610f92cc2ce4b.tar.bz2 cygnal-bb5cb3afb5749bf6a16c6e6266d610f92cc2ce4b.zip |
or1k: Add missing initialization of impure ptr
* or1k/impure.c: Fix initialization of impure ptr
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 4 | ||||
-rw-r--r-- | libgloss/or1k/impure.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 7605f3692..3469fad33 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 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 |