about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ports/ChangeLog.arm4
-rw-r--r--ports/sysdeps/arm/dl-tlsdesc.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index b6c0225165..6fb7cba5b6 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,7 @@
+2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/arm/dl-tlsdesc.h (ADDRIDX): Removed.
+
 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/arm/bits/atomic.h [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]
diff --git a/ports/sysdeps/arm/dl-tlsdesc.h b/ports/sysdeps/arm/dl-tlsdesc.h
index 2b1131c55a..97951c0da8 100644
--- a/ports/sysdeps/arm/dl-tlsdesc.h
+++ b/ports/sysdeps/arm/dl-tlsdesc.h
@@ -20,12 +20,6 @@
 #ifndef _ARM_DL_TLSDESC_H
 # define _ARM_DL_TLSDESC_H 1
 
-/* Use this to access DT_TLSDESC_PLT and DT_TLSDESC_GOT.  */
-#ifndef ADDRIDX
-# define ADDRIDX(tag) (DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGNUM \
-		       + DT_EXTRANUM + DT_VALNUM + DT_ADDRTAGIDX (tag))
-#endif
-
 /* Type used to represent a TLS descriptor in the GOT.  */
 struct tlsdesc
 {