summaryrefslogtreecommitdiff
path: root/elf/do-rel.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-09-28 11:30:57 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-09-28 11:30:57 -0700
commit9bac1d8624d3c628b473e20823fb5a154896714c (patch)
tree356a68e4d3536074b0a59e1c8b0e525f7e07eae2 /elf/do-rel.h
parent25f5f885c6c0cec20554ca7b6c71fd1b7b50f51c (diff)
Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.h
Diffstat (limited to 'elf/do-rel.h')
-rw-r--r--elf/do-rel.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/elf/do-rel.h b/elf/do-rel.h
index 10d8f31c4e..272b7821dd 100644
--- a/elf/do-rel.h
+++ b/elf/do-rel.h
@@ -32,14 +32,6 @@
(void *) (l_addr + relative->r_offset))
#endif
-#ifndef VERSYMIDX
-# define VERSYMIDX(sym) (DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGIDX (sym))
-#endif
-#ifndef VALIDX
-# define VALIDX(tag) (DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGNUM \
- + DT_EXTRANUM + DT_VALTAGIDX (tag))
-#endif
-
/* Perform the relocations in MAP on the running program image as specified
by RELTAG, SZTAG. If LAZY is nonzero, this is the first pass on PLT
relocations; they should be set up to call _dl_runtime_resolve, rather