summary refs log tree commit diff
path: root/elf/rtld.c
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/rtld.c
parent25f5f885c6c0cec20554ca7b6c71fd1b7b50f51c (diff)
downloadglibc-9bac1d8624d3c628b473e20823fb5a154896714c.tar.gz
glibc-9bac1d8624d3c628b473e20823fb5a154896714c.tar.xz
glibc-9bac1d8624d3c628b473e20823fb5a154896714c.zip
Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.h
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index ed0a86bb3d..ed5d06298e 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -254,15 +254,6 @@ RTLD_START
 # error "sysdeps/MACHINE/dl-machine.h fails to define RTLD_START"
 #endif
 
-#ifndef VALIDX
-# define VALIDX(tag) (DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGNUM \
-		      + DT_EXTRANUM + DT_VALTAGIDX (tag))
-#endif
-#ifndef ADDRIDX
-# define ADDRIDX(tag) (DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGNUM \
-		       + DT_EXTRANUM + DT_VALNUM + DT_ADDRTAGIDX (tag))
-#endif
-
 /* This is the second half of _dl_start (below).  It can be inlined safely
    under DONT_USE_BOOTSTRAP_MAP, where it is careful not to make any GOT
    references.  When the tools don't permit us to avoid using a GOT entry