about summary refs log tree commit diff
path: root/pwd/getpwent_r.c
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2017-04-04 13:16:28 +0200
committerStefan Liebler <stli@linux.vnet.ibm.com>2017-04-04 13:16:28 +0200
commitfce3da82e56a66bdafcef437abef0fa7b82b8d2b (patch)
treed4a95276b96532152b8aa4414974b328f10bea1d /pwd/getpwent_r.c
parent83f0ad2bc63f26dab10f47c8741245d93eb4077a (diff)
downloadglibc-fce3da82e56a66bdafcef437abef0fa7b82b8d2b.tar.gz
glibc-fce3da82e56a66bdafcef437abef0fa7b82b8d2b.tar.xz
glibc-fce3da82e56a66bdafcef437abef0fa7b82b8d2b.zip
S390: Clobber also r14 in TLS_LD, TLS_GD macros on 31bit.
This patch also clobbers r14 in TLS_LD, TLS_GD macros on 31bit.
This ensures that r14 isn't used to save and restore r12 while
r14 is clobbered by the bas-instruction.

As note:
r12 can't be added to clobber list as gcc would fail with:
error: PIC register clobbered by ‘12’ in ‘asm’

For 64bit this fix was already done in 2004 in the
commit b80af23ac6973e69df6cd23d221fa44fffb21e17.

ChangeLog:

	* sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
	Clobber also r14.
Diffstat (limited to 'pwd/getpwent_r.c')
0 files changed, 0 insertions, 0 deletions