redefining dynamic symbols???

Alan Modra amodra@bigpond.net.au
Wed Jul 17 06:42:00 GMT 2002


On Wed, Jul 17, 2002 at 05:49:52AM -0700, Jorge Luis Williams wrote:
> > You'd need to examine the existing code in objcopy that does
> > --redefine-sym and switch symbol table reading and writing to use
> > the dynamic symbol table.
> >
> 
> I thought about doing this, however I was under the understanding that
> this wouldn't work because I would also need to recompute the .hash
> section

Ouch.  I didn't think of that.  You'll find you need to copy/write
quite a lot of code to do what you want.  Much easier to recompile
whatever applications/shared libs you're trying to tweak.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list