This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [bfin] Fix SIZE_TYPE for bfin port


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


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