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] SPU use a 16 byte fpos_t


Patrick Mansfield <patmans@us.ibm.com> wrote:
> fpos_t is 12 bytes for 32 bit ppc glibc, and 16 bytes for 64 bit.
> 
> Currently SPU newlib uses 4 bytes for fpos_t. This is always a problem
> with 64 bit ppc, since the fgetpos() assist call writes 8 bytes back for
> the offset, and is a potential problem with 32 bit ppc.
> 
> So for SPU always use 16 bytes for fpos_t and also make currently unused
> (in SPU) _fpos64_t 16 bytes.

Do you have any plan for off_t and size_t ?
They have a similar problem to this one.

--
(ASAYAMA Kazunori
  (asayama@sm.sony.co.jp))
t


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