On 07/03/2014 11:49 PM, Peter Gavin wrote:
> It seems to me the simplest solution would be to remove the definition
> of getreent from or1k-impure.c, and swap the roles of
> __current_impure_ptr and __impure_ptr.  Something like this:
>
> [..]
>
> I also added a bit of code to save __impure_ptr to
> __current_impure_ptr at the start, because it wasn't being saved,
> which didn't make sense to me.
>
> I haven't tested this change, YMMV :)
>
> -Pete

Hi,

yes, that is the straight forward way for the standard toolchain. The
reason I solved it that way was that the change to multicore is much
easier then (see the multicore branch). For the moment we should change
it back to use _impure_ptr as long as I search for the proper way to
work with getreent (Although it seems commenting it out is the way to go..)

Bye,
Stefan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to