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=<somefile>
Everything works as expected
When I try with binutils version binutils-2.15.94.0.2.2-2 (FC4 rpm)
I get the following error (I am trying add a text file )
objcopy: can't create section `.skdata': File in wrong format
Hmm, it should work with the newer version of binutils.
Can you try using the latest binutils release (2.16) or, even better,
the current binutils sources in the CVS repository ?
If the problem still exists, please could you post a small example of
how to reproduce the problem so that we can investigate further ?
Cheers
Nick
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils