summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2011-01-12 12:07:39 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2011-01-20 14:51:56 +0100
commit8fb5b1cffd576ba9cec8c42df028e8afd6933dcd (patch)
treec62fd7cfb65aca0f31f4cd42af8a553ab6fb78f3 /ldso/include
parentaaf4cbd98fda76af93ebea5241f65291ff6bcaac (diff)
ldso: get rid of _dl_lookup_hash
Now _dl_find_hash and _dl_lookup_hash are exactly the same, we can get rid of the _dl_lookup_hash, reverting the _dl_find_hash from a wrapper of _dl_lookup_hash to its original role. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/dl-hash.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/ldso/include/dl-hash.h b/ldso/include/dl-hash.h
index d1f9accc5..d8b3e3ef4 100644
--- a/ldso/include/dl-hash.h
+++ b/ldso/include/dl-hash.h
@@ -142,15 +142,9 @@ extern struct elf_resolve * _dl_add_elf_hash_table(const char * libname,
DL_LOADADDR_TYPE loadaddr, unsigned long * dynamic_info,
unsigned long dynamic_addr, unsigned long dynamic_size);
-extern char *_dl_lookup_hash(const char *name, struct dyn_elf *rpnt,
+extern char *_dl_find_hash(const char *name, struct dyn_elf *rpnt,
struct elf_resolve *mytpnt, int type_class,
struct symbol_ref *symbol);
-static __always_inline char *_dl_find_hash(const char *name, struct dyn_elf *rpnt,
- struct elf_resolve *mytpnt, int type_class,
- struct symbol_ref *symbol)
-{
- return _dl_lookup_hash(name, rpnt, mytpnt, type_class, symbol);
-}
extern int _dl_linux_dynamic_link(void);