svn commit: trunk/uClibc: include

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 13 10:45:46 UTC 2009


On Tuesday 13 January 2009 10:56, Bernd Schmidt wrote:
> Denys Vlasenko wrote:
> > On Monday 12 January 2009 14:07, Bernd Schmidt wrote:
> >>>> Rules.mak: add -funsigned-char, to forestall future PITA
> >> Yeah, that's just wrong for all the reasons given in the old thread.
> >> Please revert if you haven't already.
> > 
> > Old thread said generated code for -fsigned-char is bigger
> > on ARM. It also said there are no benefits to having char signed.
> > 
> > But unsigned char, on the opposite, does have benefits!
> 
> Doesn't matter.  You're changing the ABI.

I don't think so. As far as I can see, ABI is not changed.

All what is changed is as if every expression of type char
is cast to (unsigned char) _in uclibc code_ (as opposed to
uclibc headers). Headers obviously must still be written
with attention to "signed char" problems.
--
vda


More information about the uClibc mailing list