From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland McGrath To: hjl@nynexst.com Cc: robf@www.willows.com, raeburn@cygnus.com, gas2@cygnus.com, ian@cygnus.com, eric@aib.com Subject: Re: ld, ld.so and -symbolic Date: Sun, 18 Jun 1995 10:16:00 -0000 Message-id: <199506181716.NAA13804@churchy.gnu.ai.mit.edu> References: <9506172001.AA19867@titanic.nynexst.com> X-SW-Source: 1995/msg00110.html In ELF there is a simple feature that if a DT_SYMBOLIC element appears in a shared object's dynamic section, then when resolving references within that shared object, the dynamic linker will give that object's own definitions first precedence, followed by the executable and other loaded shared objects (the normal order being the executable followed by all loaded shared objects). I believe GNU ld already has a -symbolic switch that creates the DT_SYMBOLIC element when building a shared object (though I could be mistaken).