mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
4947b4b20f
2003-03-17 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/bits/wordsize.h: New file, appropriate for all 3 ABIs. * sysdeps/mips/mips64/gmp-mparam.h: New file. Define BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs. * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros. (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs. * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs. * sysdeps/unix/mips/brk.S: Likewise. * sysdeps/unix/mips/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise. * sysdeps/mips/sys/ucontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. * sysdeps/mips/mips64/setjmp.S: Likewise. * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete. * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for 64-bit types.
54 lines
1.3 KiB
C
54 lines
1.3 KiB
C
/* Definition of `struct stat' used in the kernel.. */
|
|
#if defined _ABI64 && _MIPS_SIM == _ABI64
|
|
struct kernel_stat
|
|
{
|
|
unsigned int st_dev;
|
|
unsigned int __pad1[3];
|
|
unsigned long st_ino;
|
|
unsigned int st_mode;
|
|
unsigned int st_nlink;
|
|
int st_uid;
|
|
int st_gid;
|
|
unsigned int st_rdev;
|
|
unsigned int __pad2[3];
|
|
long st_size;
|
|
unsigned int st_atime;
|
|
unsigned int __unused1;
|
|
unsigned int st_mtime;
|
|
unsigned int __unused2;
|
|
unsigned int st_ctime;
|
|
unsigned int __unused3;
|
|
unsigned int st_blksize;
|
|
unsigned int __pad3;
|
|
unsigned long st_blocks;
|
|
};
|
|
#else
|
|
struct kernel_stat
|
|
{
|
|
unsigned long int st_dev;
|
|
long int __pad1[3]; /* Reserved for network id */
|
|
unsigned long int st_ino;
|
|
unsigned long int st_mode;
|
|
unsigned long int st_nlink;
|
|
long int st_uid;
|
|
long int st_gid;
|
|
unsigned long int st_rdev;
|
|
long int __pad2[2];
|
|
long int st_size;
|
|
long int __pad3;
|
|
long int st_atime;
|
|
long int __unused1;
|
|
long int st_mtime;
|
|
long int __unused2;
|
|
long int st_ctime;
|
|
long int __unused3;
|
|
long int st_blksize;
|
|
long int st_blocks;
|
|
char st_fstype[16]; /* Filesystem type name, unsupported */
|
|
long st_pad4[8];
|
|
/* Linux specific fields */
|
|
unsigned int st_flags;
|
|
unsigned int st_gen;
|
|
};
|
|
#endif
|