Re: ld -Map on a shared library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tremblay <w20777@xxxxxxxxxxxx> writes:

> I'm trying to create a map file for a shared library.  The command the
> average user would expect is "ld -Map <mapfile.map> <library.so>"
> Unfortunately, this creates a virtually empty symbol file.  I've
> already tried --cref but that doesn't actually give you the addresses
> of the functions/variables.

The linker can create a map file when it creates a shared library.  It
won't do so given an existing shared library.

Not all the information generated in the map file when creating a
shared library is available by inspecting an existing shared library.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux