BFD section content HELP

Ian Lance Taylor ian@airs.com
Wed Dec 12 16:43:00 GMT 2001


"Fabrizio rosciarelli" <frosciarelli@ipitec.com> writes:

> I have a problem with the BFD functions regarding the sections of a ELF32
> file.
> How can I set the fields in the asection structure? Let's suppose that I
> have to create an object file from scratch. Suppose that I have raw data
> (Program memory address + instruction) to be fitted inside a new section.
> Which functions should I invoke or use to build an output section?

Look at what objcopy --add-section does.

Ian



More information about the Binutils mailing list