bug-binutils
[Top][All Lists]
Advanced

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

Re: objcopy --add-section doubt


From: Nick Clifton
Subject: Re: objcopy --add-section doubt
Date: Fri, 27 Jan 2006 17:30:58 +0000
User-agent: Thunderbird 1.5 (X11/20051201)

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




reply via email to

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