objcopy - Invalid operation
James
james00_c@yahoo.com
Thu Oct 23 19:57:00 GMT 2003
More information about the Binutils mailing list
Thu Oct 23 19:57:00 GMT 2003
- Previous message (by thread): objcopy - Invalid operation
- Next message (by thread): objcopy - Invalid operation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I posted the enclosed message yesterday and haven't received a response from anyone as yet. If this is not the appropriate group then can anyone recommend one? I have also posted the below message to help-gnu-utils@gnu.org but haven't received any responses from there either and looking at its archives from past 2 months it does not appear to be "active". I am currently using objcopy version 2.13.90 on a Darwin Kernel Version 6.8 system in case that useful! Thanks! James PS: My apologies for the cross posting. --- James <james00_c@yahoo.com> wrote: > Greetings- > > 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 > > SYMBOL TABLE: > 00000000000006a4 LC_SEGMENT.__TEXT.__cstring > _rcsid > 00000000000003f8 LC_SEGMENT.__DATA.__data > _copyright > 000000000000036c LC_SEGMENT.__TEXT.__text > __et_list > 0000000000000370 LC_SEGMENT.__TEXT.__text > _vmsgs > 0000000000000000 *UND* _negative_message > 000000000000074c LC_SEGMENT.__DATA.__const > _buffer > 00000000000000bc *UND* _volume_message > 0000000000000314 g *UND* _add_to_error_table > 00000000000000fc g *UND* _error_message > 0000000000000000 g *UND* _error_table_name > 0000000000000000 g *UND* _sprintf > 0000000000000000 g *UND* _strcat > 0000000000000000 g *UND* _strerror > 0000000000000000 g *UND* > dyld_stub_binding_helper > > 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 > > % objcopy -F mach-o-be --redefine-sym > _error_message=_au_error_message error_msg.o > error_msg2.o > objcopy: error_msg.o: Invalid operation > > % objcopy -I mach-o-be -O mach-o-be > _error_message=_au_error_message error_msg.o > error_msg2.o > objcopy: error_msg.o: Invalid operation > > % objcopy -I mach-o-be -O mach-o-be error_msg.o > error_msg2.o > objcopy: error_msg.o: Invalid operation > objcopy: error_msg2.o: File truncated > % ls -l > total 64 > -rw-r--r-- 1 aojc staff 3948 Oct 22 15:30 > error_msg.o > > -rw-r--r-- 1 aojc staff 84 Oct 22 15:53 > error_msg2.o > > % objdump -t error_msg2.o > objdump: error_msg2.o: File format not recognized > > % objdump --help > <snip> > objdump: supported targets: mach-o-be mach-o-le > mach-o-fat pef pef-xlib sym srec symbolsrec tekhex > binary ihex > objdump: supported architectures: powerpc:common > powerpc:common64 powerpc:603 powerpc:EC603e > powerpc:604 powerpc:403 powerpc:601 powerpc:620 > powerpc:630 powerpc:a35 power > pc:rs64ii powerpc:rs64iii powerpc:7400 powerpc:e500 > powerpc:MPC8XX powerpc:970 rs6000:6000 rs600 > 0:rs1 rs6000:rsc rs6000:rs2 i386 i386:x86-64 i8086 > i386:x86-64:intel i386:intel > > Any suggestions on how to resolve this problem? > Thanks! > > James > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
- Previous message (by thread): objcopy - Invalid operation
- Next message (by thread): objcopy - Invalid operation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list