diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-01-30 19:13:31 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-02-14 21:09:12 -0300 |
commit | cd72a13f22dbb56f56ed63e9899050cba7a286ad (patch) | |
tree | 68aec56681b6c5d357413ab4b2d467fa9c760916 /sysdeps/pthread/allocalim.h | |
parent | 5d844e1b72513cf59b5e7c14295644efdcc66e44 (diff) | |
download | glibc-cd72a13f22dbb56f56ed63e9899050cba7a286ad.tar.gz glibc-cd72a13f22dbb56f56ed63e9899050cba7a286ad.tar.xz glibc-cd72a13f22dbb56f56ed63e9899050cba7a286ad.zip |
powerpc: Consolidate Linux syscall definition
The diferences between powerpc64{le} and powerpc32 Linux sysdep.h are: 1. On both vDSO and syscall macros the volatile registers r9, r10, r11, and r12 are used as input operands on powerpc32 and as clobber registers on powerpc64. However the outcome is essentially the same, it advertise the register might be clobbered by the kernel (although Linux won't leak register information to userland in such case). 2. The LOADARGS* macros uses a different size to check for invalid types. 3. The pointer mangling support guard pointer loading uses ABI specific instruction and register. This patch consolidates on only one sysdep by using the the powerpc64 version as default and add the adjustments required for powerpc32. Checked on powerpc64-linux-gnu, powerpc64le-linux-gnu, and powerpc-linux-gnu-power4.
Diffstat (limited to 'sysdeps/pthread/allocalim.h')
0 files changed, 0 insertions, 0 deletions