This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: BFD section content HELP
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Fabrizio rosciarelli" <frosciarelli at ipitec dot com>
- Cc: "REDHAT\(binutils\)" <binutils at sources dot redhat dot com>
- Date: 12 Dec 2001 16:43:25 -0800
- Subject: Re: BFD section content HELP
- References: <007301c18377$e4e05ae0$0e0110ac@pcfabrizio>
"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