1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.h

This commit is contained in:
H.J. Lu
2012-09-28 11:30:57 -07:00
parent 25f5f885c6
commit 9bac1d8624
10 changed files with 22 additions and 46 deletions

View File

@@ -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