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: [PATCH/RFC] Add support for PEF, Mach-O, xSYM


On Tuesday, November 5, 2002, at 06:03 PM, Segher Boessenkool wrote:
There's no attached patch, btw, so I can't review -- please resend?
My bad; here it is:

Attachment: bfd-formats.tar.gz
Description: GNU Zip compressed data



"section" is a PEF section number, "offset" is an offset in that section;
it points at a TVECTOR8 (that is, offset + section number) which is the
code address.

A picture is worth a thousand words, so:

Loader header data section code section
(section# + offset) --> (section# + offset) --> (the actual code)
Eureka! That makes a lot of sense now. I'll take a look at it and hopefully get it working this weekend.


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