about summary refs log tree commit diff
path: root/sysdeps/s390/bits/atomic.h
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2016-04-04 12:54:23 +0200
committerMike Frysinger <vapier@gentoo.org>2016-04-04 14:59:26 -0400
commit2f012b713af72215364cd233853335297729fb4e (patch)
treed8633a1d4b2c883d291ce3c66e407a11446df5ff /sysdeps/s390/bits/atomic.h
parent2a709bcc0f541d47a85f121c518150fac4076c6b (diff)
downloadglibc-2f012b713af72215364cd233853335297729fb4e.tar.gz
glibc-2f012b713af72215364cd233853335297729fb4e.tar.xz
glibc-2f012b713af72215364cd233853335297729fb4e.zip
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.

(cherry picked from commit 5cdd1989d1d2f135d02e66250f37ba8e767f9772)
(cherry picked from commit a07df04187284a7993d890d5164a4433cebfd930)
Diffstat (limited to 'sysdeps/s390/bits/atomic.h')
0 files changed, 0 insertions, 0 deletions