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.
This commit is contained in:
Szabolcs Nagy 2017-10-20 17:44:18 +01:00
parent 0ca3d1d6d0
commit 28e1ddf340
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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> 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
[BZ #18572] [BZ #18572]

View File

@ -464,8 +464,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
} }
case R_ARM_TLS_DESC: case R_ARM_TLS_DESC:
{ {
struct tlsdesc volatile *td = struct tlsdesc *td = (struct tlsdesc *)reloc_addr;
(struct tlsdesc volatile *)reloc_addr;
# ifndef RTLD_BOOTSTRAP # ifndef RTLD_BOOTSTRAP
if (! sym) if (! sym)