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 Tue, Jul 16, 2002 at 07:34:29PM -0700, Jorge Luis Williams wrote:
> 
> A while back sombody brought up the idea of using objcopy to redefine
> dynamic symbols. This is a feature that I would find most useful.  Has
> anybody been working on this?

Not that I'm aware of.

> Seeing as objcopy doesn't support this feature is it possible to do this
> with ld -- or someother way?

You could edit the file string table with a binary editor.  ;-)

> What would be the work involved??

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.

-- 
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]