From 1fae5a6800b07d0a8225664ac65a628bbe98cae7 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 14 Oct 2015 16:58:41 +0100 Subject: [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. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5b825cd3f4..8a308891ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-10-14 Szabolcs Nagy + + [BZ #19129] + * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore + r0 and r1. + 2015-10-14 Namhyung Kim * manaual/argp.texi (Specifying Argp Parsers): Fix typo. -- cgit 1.4.1