diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2017-10-20 17:44:18 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2017-11-03 14:48:35 +0000 |
commit | 28e1ddf340e205cd8e1eff58e92957318c6e9966 (patch) | |
tree | dba79e91808023bc1d99946a960dc2ec9396eb8a | |
parent | 0ca3d1d6d096e222346c74601d50e9013c8bb25d (diff) | |
download | glibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.zip glibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.tar.gz glibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.tar.bz2 |
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-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/arm/dl-machine.h | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -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 c59386f..ec3a027 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) |