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 /sysdeps/arm/dl-machine.h | |
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.
Diffstat (limited to 'sysdeps/arm/dl-machine.h')
-rw-r--r-- | sysdeps/arm/dl-machine.h | 3 |
1 files changed, 1 insertions, 2 deletions
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) |