[PATCH/RFC] Add support for PEF, Mach-O, xSYM

Klee Dienes klee@apple.com
Tue Nov 5 17:03:00 GMT 2002


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:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-formats.tar.gz
Type: application/x-gzip
Size: 43749 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20021105/80fb2286/attachment.bin>
-------------- next part --------------



> "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.



More information about the Binutils mailing list