[bfin] Fix SIZE_TYPE for bfin port
Jie Zhang
jzhang918@gmail.com
Sun Jun 18 05:16:00 GMT 2006
On 6/5/06, Andrew Pinski <pinskia@physics.uc.edu> wrote:
>
> On Jun 4, 2006, at 11:45 PM, Jie Zhang wrote:
>
> > Mike Frysinger reported the following on blackfin.uclinux.org:
> >
> > tried with x86 and amd64 compilers and neither gave me warnings
> > ===============================
> >
> > This patch seems fix it by changing the definition of SIZE_TYPE from
> > "long unsigned int" to "unsigned int".
>
> You should note that this changes the ABI. And you might want to
> look into this a little further to see if glibc should change instead.
>
Sorry for late reply. I didn't notice your email until yesterday.
Your comment is good. It should be fixed in C library considering ABI.
Blackfin uses uClibc instead of glibc. I considered the option of
modifying uClibc when I made that patch, but not noticed that
modifying GCC will change the ABI.
Thanks,
Jie
More information about the Gcc-patches
mailing list