aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2017-10-20 17:44:18 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2017-11-03 14:48:35 +0000
commit28e1ddf340e205cd8e1eff58e92957318c6e9966 (patch)
treedba79e91808023bc1d99946a960dc2ec9396eb8a
parent0ca3d1d6d096e222346c74601d50e9013c8bb25d (diff)
downloadglibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.tar
glibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.tar.gz
glibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.tar.bz2
glibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.zip
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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/arm/dl-machine.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e1dc25c62e..9598180f8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
+ * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
+
+2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
[BZ #18572]
* sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
non-lazily for R_ARM_TLS_DESC.
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)