This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: ld -Map on a shared library


Tremblay <w20777@motorola.com> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]