OSDN Git Service

ldso: Rework global scope handling and symbol lookup mechanism
authorFilippo Arcidiacono <filippo.arcidiacono@st.com>
Thu, 29 Jul 2010 09:35:05 +0000 (11:35 +0200)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Fri, 17 Sep 2010 14:07:25 +0000 (16:07 +0200)
commit94cc6edb78a12655c0602a246fa1cbdc8c6d0ad9
tree4dcffeee2396c0cd7d7b30f5a493c31ad7e171ad
parent637e2b2440f69e22932edd71bd2f0b1210dc32ea
ldso: Rework global scope handling and symbol lookup mechanism

Global symbol scope is implemented as a linked list of
local scope, that dynamically grows and shrinks when dlopen/
dlclose are called. Each local scope is implemented as an array
of pointer to struct elf_resolve.
This will help to detect conflict when LD_TRACE_PRELINKING option
will be implemented.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
ldso/include/dl-defs.h
ldso/include/dl-elf.h
ldso/include/dl-hash.h
ldso/include/ldso.h
ldso/ldso/dl-elf.c
ldso/ldso/dl-hash.c
ldso/ldso/dl-startup.c
ldso/ldso/ldso.c
ldso/ldso/sh/elfinterp.c
ldso/libdl/libdl.c