aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-09-28 09:41:16 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-09-28 11:31:13 -0700
commitf8419467bb24483eaa564ecce9b8b316ed90585a (patch)
treeed520eefc39b2ed79836daa9359fc09799f5260b
parent9bac1d8624d3c628b473e20823fb5a154896714c (diff)
downloadglibc-f8419467bb24483eaa564ecce9b8b316ed90585a.tar
glibc-f8419467bb24483eaa564ecce9b8b316ed90585a.tar.gz
glibc-f8419467bb24483eaa564ecce9b8b316ed90585a.tar.bz2
glibc-f8419467bb24483eaa564ecce9b8b316ed90585a.zip
Remove arm ADDRIDX macro definition
-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
{