This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ELF extension for starting symbol search from module dependencies


On 21 Aug 2002, Luca Barbieri wrote:

> This is a proposal (including patches) for a GNU extension to the ELF
> executable format that adds a flag that causes the dynamic loader to
> start searching for symbols referenced by modules with the flag set from
> the module itself and its immediate dependencies. If the symbol is not
> found in this way, the dynamic linker continues the search as usual. 
> 
> This extension would be useful to allow to load in the same address
> space multiple libraries that define identical symbols, that would be
> used by different modules possibly unaware of each other's use of such
> symbols. 

 Hmm, what if two functions which get imported from different versions of
the same library operate on a static (private to the library) variable
that is needed for a proper operation for some reason?  You'd better
rebuild the sources to use a single version of each library instead. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]