public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* objcopy --redefine-sym does not rename undefined symbols
@ 2002-04-05  9:14 Nicolas Williams
  2002-04-05 17:23 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Williams @ 2002-04-05  9:14 UTC (permalink / raw)
  To: binutils


I need to be able to rename undefined symbols (don't ask :/ ).

I also would like to be able to manipulate recorded dependencies,
rpaths, etc... This last I think I can get with ld anyways, but it would
be nice if objcopy could handle it.

Having zero experience with libbfd but otherwise being able to program
C, what are my chances of being able to fix objcopy or add an option to
rename undefined symbols? What about dependency manipulation?

Would there be any patches floating around that might provide the
functionality I seek?

Also, can the output of objdump generally be re-assembled into an
object file equivalent to its input?

The version of objcopy I'm using is 2.10.1.

Thanks,

Nico
-- 

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: objcopy --redefine-sym does not rename undefined symbols
  2002-04-05  9:14 objcopy --redefine-sym does not rename undefined symbols Nicolas Williams
@ 2002-04-05 17:23 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2002-04-05 17:23 UTC (permalink / raw)
  To: Nicolas Williams; +Cc: binutils

On Fri, Apr 05, 2002 at 12:10:20PM -0500, Nicolas Williams wrote:
> 
> I need to be able to rename undefined symbols (don't ask :/ ).

Works with current CVS and 2.12 objcopy.

> Also, can the output of objdump generally be re-assembled into an
> object file equivalent to its input?

No.  Some targets are quite close, eg. x86, others need quite a bit
of work in an editor.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-06  1:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-05  9:14 objcopy --redefine-sym does not rename undefined symbols Nicolas Williams
2002-04-05 17:23 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).