From 28e1ddf340e205cd8e1eff58e92957318c6e9966 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 20 Oct 2017 17:44:18 +0100 Subject: arm: Remove unnecessary volatile qualifier There is no reason to treat tlsdesc entries as volatile objects. * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile. --- ChangeLog | 4 ++++ sysdeps/arm/dl-machine.h | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1dc25c62e..9598180f8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-11-03 Szabolcs Nagy + + * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile. + 2017-11-03 Szabolcs Nagy [BZ #18572] diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h index c59386f515..ec3a0274e3 100644 --- a/sysdeps/arm/dl-machine.h +++ b/sysdeps/arm/dl-machine.h @@ -464,8 +464,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc, } case R_ARM_TLS_DESC: { - struct tlsdesc volatile *td = - (struct tlsdesc volatile *)reloc_addr; + struct tlsdesc *td = (struct tlsdesc *)reloc_addr; # ifndef RTLD_BOOTSTRAP if (! sym) -- cgit v1.2.3