svn commit: r1155 - trunk/yasm/modules/objfmts/elf

mu at tortall.net mu at tortall.net
Sun Oct 10 11:40:32 PDT 2004


Author: mu
Date: Sun Oct 10 11:40:31 2004
New Revision: 1155

Modified:
   trunk/yasm/modules/objfmts/elf/elf.c
ViewCVS:
   http://www.tortall.net/cgi-bin/viewcvs.cgi?view=rev&rev=1155
Log:
Phase 1 of a 2 phase cleanup to elf's internal structure.

Historically elf.c had a lot of switches for which machines it supports.
This replaces it with a structure of information and function pointers
which is selected in much the same way the switch value was before. Then
all such switches are replaced with calls through the current machine
handler structure.

Phase 2 will relocate each machine's support to its own file.




More information about the yasm-cvs mailing list