help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objcopy - Invalid operation


From: Nick Clifton
Subject: Re: objcopy - Invalid operation
Date: Fri, 24 Oct 2003 16:02:44 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux)

Hi James,

> I posted the enclosed message yesterday and haven't received a
> response from anyone as yet.

Please be patient.  The people who answer questions on this list are
all volunteers who have other, important, work to do as well.


> If this is not the appropriate group then can anyone recommend one?

This is the correct list.


> I am currently using objcopy version 2.13.90

In general it is always a good idea to make sure that you are using
the latest release before reporting problems.  In the case of binutils
this is 2.14 (or if you prefer using HJ's versions: 2.14.90.0.6).


>> I am trying to rename a symbol in an object file called
>> "error_msg.o" and following is its information:
>> 
>> % objdump -t error_msg.o
>> 
>> error_msg.o:     file format mach-o-be
>> 00000000000000fc g       *UND* _error_message

>> The error messages that I receive are as follows:
>>  
>> % objcopy --redefine-sym
>> _error_message=_au_error_message error_msg.o
>> objcopy: error_msg.o: Invalid operation

>> Any suggestions on how to resolve this problem? 

It may well be a bug in the bfd library.  if you can provide a test
case (ie the error_msg.o file) we can try to investigate.

For what it is worth this kind of renaming should be possible.  It
certainly does work for a simple test case using the i686-pc-linux-gnu
target and the current binutils sources from the CVS repository.

Cheers
        Nick
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]