about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/fpu
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2015-10-14 16:58:41 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2015-10-14 17:01:12 +0100
commit1fae5a6800b07d0a8225664ac65a628bbe98cae7 (patch)
treea56d1b35fec55a7326d7bee2dfea7a9fd57396b1 /sysdeps/powerpc/powerpc32/fpu
parentf45e45a3e07ccd555a3130a9413fcebe6d8f5213 (diff)
downloadglibc-1fae5a6800b07d0a8225664ac65a628bbe98cae7.tar.gz
glibc-1fae5a6800b07d0a8225664ac65a628bbe98cae7.tar.xz
glibc-1fae5a6800b07d0a8225664ac65a628bbe98cae7.zip
[BZ #19129][ARM] Fix _dl_tlsdesc_resolve_hold to save r0
_dl_tlsdesc_resolve_hold calls into a C function that clobbers r0,
but it assumes the original argument is still in r0 after the call.
This can cause crash in case of concurrent TLS access when TLSDESC
is in use (-mtls-dialect=gnu2).

Run into this while fixing BZ 18572.

Both r0 and r1 are saved/restored so the stack remains 8 byte aligned.

	[BZ #19129]
	* sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
	r0 and r1.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/fpu')
0 files changed, 0 insertions, 0 deletions