diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-03-25 21:51:53 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-03-25 21:51:53 +0000 |
commit | 1b12060c5e8d99b8371513d7f4b7d3865ff1da89 (patch) | |
tree | 0444652cd9f9301d113cd4931541da1d4d72fbed /sysdeps/unix/sysv/linux/mips/kernel_sigaction.h | |
parent | 09402f5bc1d87787c84dbf75d41777c87b1ce40e (diff) | |
download | glibc-1b12060c5e8d99b8371513d7f4b7d3865ff1da89.tar glibc-1b12060c5e8d99b8371513d7f4b7d3865ff1da89.tar.gz glibc-1b12060c5e8d99b8371513d7f4b7d3865ff1da89.tar.bz2 glibc-1b12060c5e8d99b8371513d7f4b7d3865ff1da89.zip |
* sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): Define. * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all ISA tests. (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct old_kernel_sigaction): Likewise.
2003-03-25 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
Define.
* sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
ISA tests.
(ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
(PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
old_kernel_sigaction): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/kernel_sigaction.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/kernel_sigaction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h b/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h index 36d2667ec0..b6f52cc9c9 100644 --- a/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h +++ b/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h @@ -12,7 +12,7 @@ struct old_kernel_sigaction { /* Abi says here follows reserved int[2] */ void (*sa_restorer)(void); -#if (_MIPS_ISA == _MIPS_ISA_MIPS1) || (_MIPS_ISA == _MIPS_ISA_MIPS2) +#if (_MIPS_SZPTR < 64) /* * For 32 bit code we have to pad struct sigaction to get * constant size for the ABI |