This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, ARM] Don't use __thumb2__ to select _REENT_SMALL


Paul Brook wrote:
That said, I agree with Richard's point. If the thumb2 flag is not a
proper check for a platform that requires a small reent struct, then it
shouldn't be used as such.
Well, the whole idea that this is something that can be figured out from
the target is wrong. It should really be a user visible configure option.
Do you mean the existing --enable-newlib-reent-small configure option or
something different?

Yes, exactly that. In that case I suggest removing the __thumb2__ check altogether. It would be nice if reent-small didn't break the library ABI, but that's a different issue.


Paul
Done. I'm still willing to accept a patch to _REENT_SMALL and reclaim the unused locale variables.
I can do this if you don't want to.


-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]