Troy Rollo wine@troy.rollo.name writes:
- Modify the executable after the link phase;
- Put what we can into SizeOfImage (which could only be one part of the
calculation - presumably "_end") and adjust at load time; or 3. Don't rely on the assembler to put anything meaningful in there and calculate the whole thing at load time.
4. Define an _end symbol in .data, that's good enough for what we need.