]> git.ipfire.org Git - thirdparty/glibc.git/commit
S390: Extend structs La_s390_regs / La_s390_retval with vector-registers.
authorStefan Liebler <stli@linux.vnet.ibm.com>
Thu, 31 Mar 2016 15:37:16 +0000 (17:37 +0200)
committerStefan Liebler <stli@linux.vnet.ibm.com>
Thu, 31 Mar 2016 15:37:16 +0000 (17:37 +0200)
commit5cdd1989d1d2f135d02e66250f37ba8e767f9772
treec891002da963dbcecb9002a27e807476a0481cc5
parent4603c51ef7989d7eb800cdd6f42aab206f891077
S390: Extend structs La_s390_regs / La_s390_retval with vector-registers.

Starting with z13, vector registers can also occur as argument registers.
Thus the passed input/output register structs for
la_s390_[32|64]_gnu_plt[enter|exit] functions should reflect those new
registers. This patch extends these structs La_s390_regs and La_s390_retval
and adjusts _dl_runtime_profile() to handle those fields in case of
running on a z13 machine.

ChangeLog:

* sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
(La_s390_32_regs): Append vector register lr_v24-lr_v31.
(La_s390_64_regs): Likewise.
(La_s390_32_retval): Append vector register lrv_v24.
(La_s390_64_retval): Likeweise.
* sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
Handle extended structs La_s390_32_regs and La_s390_32_retval.
* sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
Handle extended structs La_s390_64_regs and La_s390_64_retval.
ChangeLog
sysdeps/s390/bits/link.h
sysdeps/s390/s390-32/dl-trampoline.h
sysdeps/s390/s390-64/dl-trampoline.h