Mail Archives: djgpp/1992/07/27/15:02:51
>One thing to bare in mind. DJ changed the a.out format so that text
>starts at physical offset 0x20 in the file. Usually in ZMAGIC a.out
>files (magic number == 0413) have their text starting at physical
>offset 0x1000 in the file. You will need to patch go32 file paging.c
>and set the areas[0].foffset and areas[1].foffset to the right offset
DO NOT CHANGE GO32 TO SUPPORT A CROSS-LINKER. FIX THE CROSS-LINKER.
If you do not do this, code you write will not be usable by anyone
without your patched go32. Go32's a.out format was chosen for optimal
space and time considerations and will not change. If you are that
concerned, use coff format, which go32 also supports (see paging.c)
and which can be moved around without changing go32.
DJ
dj AT ctron DOT com
Life is a banana.
- Raw text -