This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Okay, that works, could you tell me how I would then add an equivalent
ELF segment section? Would I have to manually craft the program headers,
and use bfd_record_phdr?

Thanks again.
-- 
Ceri Storey <cez at necrofish dot org dot uk>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]