headers:
code seg:
data seg:
if dll:
	export seg:
		uint32_t numExports
		for each export
			uint32_t address
import seg:
	uint32_t import seg size
	for each dll in iDllRefTableCount
		uint32_t dllname offset
		uint32_t import count
		for each import
			uint32_t relocation address
	for each dll in iDllRefTableCount
		dll name string
	pad with zero to 4 byte alignment
code reloc seg:
	uint32_t size of code reloc seg (except this and the count)
	uint32_t reloc count
	for each reloc prefix:
		uint32_t reloc prefix (value & 0xfffff000)
		uint32_t size of this prefix area
		for each reloc (every sym in .rel.dyn and .rel.other, which have a symbol value nonzero)
			uint16_t reloc type | (symbol offset - code base)
		pad with zero to 4 byte alignment
data reloc seg:


