2010-07-12

2010-07-12 - ELF Library Loading

A significant effort over the last two days, and I believe the ELF loader is finished.  The sections are loading correctly, the symbols are being found and processed, and the relocations appear to be complete.  Some debugging still needs to be done on the whole thing as attempting to call the library initialise function results in the code spinning off into the weeds and causing issues.  Oh well, that's an effort for another day.

Whoever said that ELF was easier than COFF was either stupid, lying, or has never dealt with COFF.  It's so much more straightforward because it's not built with millions of extensibility plans.  One symbol table, one section table, one relocation table, one string table ... thank you very much.

No comments:

Post a Comment