This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: redefining dynamic symbols???


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]