This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: redefine symbol names in shlib?
- To: Peter Samuelson <peter at cadcamlab dot org>
- Subject: Re: redefine symbol names in shlib?
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Tue, 13 Jun 2000 11:05:07 +1000 (EST)
- cc: binutils at sourceware dot cygnus dot com
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.