This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: make existing mips files multi-ABI
Alexandre Oliva <aoliva at redhat dot com> writes:
> On Mar 14, 2003, Andreas Jaeger <aj at suse dot de> wrote:
>
>>> Index: sysdeps/unix/sysv/linux/mips/bits/stat.h
>
>>> - unsigned long int st_dev;
>>> - long int st_pad1[3];
>>> + unsigned int st_dev;
>> Can we change this to __dev_t
>
> Unfortunately this would introduce a binary-compatibility change in
> o32 ABI, since __dev_t is a u_quad_t. We could change it for n32 and
> n64, though. Should we?
So, o32 is broken regarding POSIX - let's fix it for n32/n64.
> Other than that, no changes should be required in mips/bits/stat.h.
> The changes I had made before were entirely unnecessary, so I withdraw
> that part of the patch. I'm yet to revisit the need for the fcntl.h
> changes.
Andreas
--
Andreas Jaeger
SuSE Labs aj at suse dot de
private aj at arthur dot inka dot de
http://www.suse.de/~aj