This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Fix FILE structure alignment
On Mar 15 13:43, Sebastian Huber wrote:
> A recent change turned the offset field of the FILE structure from a
> 32-bit integer into a 64-bit integer on some platforms. On some
> architectures this results in a wrong alignment of the FILE structure
> allocated by __sfmoreglue(). On SPARC for example you can get now an
> aligment exception.
>
> newlib/
> 2013-03-15 Sebastian Huber <...>
>
> * newlib/libc/stdio/findfp.c (glue_with_file): New.
> (__sfmoreglue): Use glue_with_file to avoid alignment problems.
Patch applied.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat