Skip to contentSkip to conversation

link table

DISCUSSION Mihai Dontu 2 participants 2 messages Jul 4, 2006 – Jul 12, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

Does anyone know a tool which I can use to dump the link table?

Basically I want to know how symbols were resolved. Such a tool should display:
- the name of the symbol
- the type of the symbol (T,U - see man nm)
- the address of the symbol (as set by the dynamic linker)
- the module in which this the symbol's address is located

Eg:

myprocess
U strcmp 0x0040500f (/lib/libc.so)

Why do I want such a tool?
- I have this program that loads several shared objects (plugins) and
sometimes the linker resolves the syms in a wrong way making the program misbehave (i.e. some plugins have syms with the same name, but they do different things - I can not change this because the plugins are third party (and closed source)).

Thanks in advance.

M.D.

Signature · 2 lines
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/
#1 lore raw
Quoted 28 lines · Mihai Dontu

Hi,

Does anyone know a tool which I can use to dump the link table?

Basically I want to know how symbols were resolved. Such a tool should display:
- the name of the symbol
- the type of the symbol (T,U - see man nm)
- the address of the symbol (as set by the dynamic linker)
- the module in which this the symbol's address is located

Eg:

myprocess
U strcmp 0x0040500f (/lib/libc.so)

Why do I want such a tool?
- I have this program that loads several shared objects (plugins) and
sometimes the linker resolves the syms in a wrong way making the program misbehave (i.e. some plugins have syms with the same name, but they do different things - I can not change this because the plugins are third party (and closed source)).

Thanks in advance.

M.D.

Quoted 9 lines

--
This message was scanned for spam and viruses by BitDefender. For more information please visit http://www.bitdefender.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

You can find this on objdump(1) source codes.

Daniel

Signature · 1 line
What this world needs is a good five-dollar plasma weapon.