diff mbox

[6/7] arm: Remove unnecessary volatile qualifier

Message ID 59EF4EED.8080507@arm.com
State New, archived
Headers show

Commit Message

Szabolcs Nagy Oct. 24, 2017, 2:32 p.m. UTC
2017-10-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
diff mbox

Patch

From af3fc493668dc8b1ff27e83458590d1e1a5cf386 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri, 20 Oct 2017 17:44:18 +0100
Subject: [PATCH 6/7] 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.
---
 sysdeps/arm/dl-machine.h | 3 +--
 1 file changed, 1 insertion(+), 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)
-- 
2.11.0