Multi-section binary
After committing my fixes to absolute address handling (see my previous blog entry) in [1634], along with some other bug fixes, I've started working on multi-section binary.
One thing I've noticed so far is there's suprisingly few "real" examples of multi-section-using code out there. Most of what I've found has been from the NASM mailing list bug reports or from the initial development of the feature in NASM. If any readers have snippets of multi-section binary code, please send them my direction!
The support itself shouldn't be too difficult to add to Yasm. I've essentially completed the updates to the section directive, but most of the work will happen at the beginning of the output() function, to figure out the final addresses (both physical and virtual) of all the sections prior to relocation and output. I'll definitely try to implement some sort of map support first, however, to make debugging easier (not to mention the fact it's a required feature).
Also, I think I should be able to support hpa's test case , which is still broken in NASM.
Comment by peter@… on Thu Jun 21 21:29:10 2007
Fixed link for hpa test case
