What does the linker do with a shared library?

Ian Lance Taylor iant@google.com
Sat Sep 26 04:56:00 GMT 2009


Michael Morrell <morrell@alumni.ucsd.edu> writes:

> I'm trying to find some detailed information on exactly what the linker does
> when it processes a shared library (for ELF systems).
>
> At the minimum, it sticks the name of the library in the dynamic section,
> but I'm not sure if it needs to do anything else.
>
> Is this described in detail anywhere (or do I have to grovel through
> the source)?

Here is a brief writeup I did a while back:

http://www.airs.com/blog/archives/41
http://www.airs.com/blog/archives/42

Ian



More information about the Binutils mailing list