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: BFD section content HELP


"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


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