redefine symbol names in shlib?

Alan Modra
Mon Jun 12 18:05:00 GMT 2000

On Mon, 12 Jun 2000, Peter Samuelson wrote:

> [elf32-i386, binutils 2.10pre3, Linux]
> `objcopy --redefine-sym' doesn't work for a stripped shared library.
> It thinks the library has no symbols, which is clearly false because
> `nm --dynamic' has no trouble finding them.

Just plain "nm" has some trouble though, doesn't it?

> Is this correct behavior?

Well, you'd need to add some code to handle renaming of dynamic
symbols.  ;-)

Linuxcare.  Support for the Revolution.

More information about the Binutils mailing list