Before this change, asmproc failed on the first pass (file parsing) and did not produce an object file. This change:
Modifies some parsing checks to get past the first pass.
Reformats the nonmatching .s file to make it compatible with asmproc.
Clarifies asmproc flow in compile.sh.
As a result, asmproc no longer fails if used in src/text.c, and it successfully injects asm into the proper text section. However, asmproc is still broken: when linked, the binary checksum DOES NOT match. This is likely due to relocation issues in asmproc, which will be fixed later.
Before this change, asmproc failed on the first pass (file parsing) and did not produce an object file. This change:
As a result, asmproc no longer fails if used in src/text.c, and it successfully injects asm into the proper text section. However, asmproc is still broken: when linked, the binary checksum DOES NOT match. This is likely due to relocation issues in asmproc, which will be fixed later.