mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Define __ASSUME_ALIGNED_REGISTER_PAIRS for missing ports
This patch defines __ASSUME_ALIGNED_REGISTER_PAIRS for the missing ports that require 64-bit value (e.g., long long) to be aligned to an even register pair in argument passing. No code change is expected, tested with builds for powerpc32, mips-o32, and armhf. * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_ALIGNED_REGISTER_PAIRS): Define. * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/arm/kernel-features.h
|
||||||
|
(__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
|
||||||
|
* sysdeps/unix/sysv/linux/mips/kernel-features.h
|
||||||
|
[_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/kernel-features.h
|
||||||
|
[!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
|
||||||
|
|
||||||
2016-04-11 Florian Weimer <fweimer@redhat.com>
|
2016-04-11 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
[BZ #19865]
|
[BZ #19865]
|
||||||
|
@ -27,3 +27,7 @@
|
|||||||
# undef __ASSUME_REQUEUE_PI
|
# undef __ASSUME_REQUEUE_PI
|
||||||
# undef __ASSUME_SET_ROBUST_LIST
|
# undef __ASSUME_SET_ROBUST_LIST
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Define this if your 32-bit syscall API requires 64-bit register
|
||||||
|
pairs to start with an even-number register. */
|
||||||
|
#define __ASSUME_ALIGNED_REGISTER_PAIRS 1
|
||||||
|
@ -28,3 +28,9 @@
|
|||||||
# undef __ASSUME_REQUEUE_PI
|
# undef __ASSUME_REQUEUE_PI
|
||||||
# undef __ASSUME_SET_ROBUST_LIST
|
# undef __ASSUME_SET_ROBUST_LIST
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Define this if your 32-bit syscall API requires 64-bit register
|
||||||
|
pairs to start with an even-number register. */
|
||||||
|
#if _MIPS_SIM == _ABIO32
|
||||||
|
# define __ASSUME_ALIGNED_REGISTER_PAIRS 1
|
||||||
|
#endif
|
||||||
|
@ -42,4 +42,10 @@
|
|||||||
/* The sendmmsg syscall was added for PowerPC in 3.0. */
|
/* The sendmmsg syscall was added for PowerPC in 3.0. */
|
||||||
#define __ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL 1
|
#define __ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL 1
|
||||||
|
|
||||||
|
/* Define this if your 32-bit syscall API requires 64-bit register
|
||||||
|
pairs to start with an even-number register. */
|
||||||
|
#ifndef __powerpc64__
|
||||||
|
# define __ASSUME_ALIGNED_REGISTER_PAIRS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include_next <kernel-features.h>
|
#include_next <kernel-features.h>
|
||||||
|
Reference in New Issue
Block a user