about summary refs log tree commit diff
path: root/sysdeps/arm
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 /sysdeps/arm
parent0ca3d1d6d096e222346c74601d50e9013c8bb25d (diff)
downloadglibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.tar.gz
glibc-28e1ddf340e205cd8e1eff58e92957318c6e9966.tar.xz
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.
Diffstat (limited to 'sysdeps/arm')
-rw-r--r--sysdeps/arm/dl-machine.h3
1 files changed, 1 insertions, 2 deletions
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)