make existing mips files multi-ABI

Alexandre Oliva aoliva@redhat.com
Tue Mar 25 02:51:00 GMT 2003


On Mar 14, 2003, Andreas Jaeger <aj@suse.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?

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.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Libc-alpha mailing list