This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Creating .note sections
On Thu, Apr 24, 2003 at 10:37:19AM +0100, Nick Clifton wrote:
> If you are doing this post-link time, then you might like to consider
> using "objcopy --add-section" to do the hard work for you. Just
> create the section's contents, write them to a file, and then invoke
> objcopy.
That's a brilliant idea, thanks.
> Presumably you have altered or created a symbol table but not
> initialised the pointers correctly. Without a working example it is
> hard to say. The code you included in your email looked OK in
> general, so I would say that you are on the right track.
I'm not doing anything with symbols /at all/, which is really very very
odd.
Cheers.
--
Ceri Storey <cez at necrofish dot org dot uk>