This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: make existing mips files multi-ABI


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?

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 at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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