Re: objcopy --add-section doubt

2006-01-28 Thread Nick Clifton
Hi Kartikeyan, With binutils that come with RH9 version binutils-2.13.90.0.18-9 (rpm) I am able to add any arbitary file(i am trying a text file) as a ELF section eg:- objcopy --add-section .skdata= Everything works as expected When I try with binutils version binutils-2.15.94.0.2.2-2 (FC4

Re: objcopy --add-section doubt

2006-01-28 Thread kartikeyan sadasivuni
> error > > objcopy: can't create section `.skdata': File in wrong format > > If you need any more information please contact me. I attached gdb to the objcopy program in the src/binutils/objcopy program (gdb) n 1131 if (newsect->name != NULL) (gdb) list 1126 sh = secti

[Bug binutils/2225] New: cisco IOS MIPS ELF causes coredump

2006-01-28 Thread alec at sensi dot org
$ file c3640-is-mz.120-28a.bin c3640-is-mz.120-28a.bin: ELF 32-bit MSB executable, version 1 (SYSV), statically linked, stripped CISCO IOS for 3600 is a conventional MIPS-BE ELF. For obscurity reason they've deleted a ELF *section names*. ELF files without section name causes coredump in all M

Re: help

2006-01-28 Thread Nick Clifton
Hi Zhao, When I use arm-elf-readelf , I have one question. Can you output one section all info . I want display all [ 17 ] bss section all information. as bellow. 29284: 11f56d88 200 OBJECT GLOBAL DEFAULT 17 GetGSMCmdBuf 29296: 11e02340 4 OBJECT GLOBAL DEFAULT 17 listfont