home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
unix
/
emx
/
doc
/
emxbind.doc
< prev
next >
Wrap
Text File
|
1993-01-03
|
4KB
|
85 lines
===============================================================================
emxbind.doc emx 0.8f EXE FILE FORMAT, METHOD (E1) 03-Jan-1993
===============================================================================
Copyright (c) 1990-1993 by Eberhard Mattes
┌─────────────────────────────────┐
│ │
│ DOS .exe header: │
│ │
│ ┌──────────────────────────────┤
│ │ │────────┐
│ │ Control information │────┐ │
│ │ │──┐ │ │
│ ├──────────────────────────────┤<─┘ │ │
│ │ │ │ │
│ │ Relocation table │ │ │
│ │ │ │ │
└──┴──────────────────────────────┘ │ │
│ │
┌─────────────────────────────────┐<───┘ │
│ │ │
│ DOS (emx or emxl) image: │ │
│ │ │
│ ┌──────────────────────────────┤ │
│ │ │ │
│ │ emxbind header │──────┐ │
│ │ │ │ │
│ ├──────────────────────────────┤ │ │
│ │ │ │ │
│ │ Code & data │ │ │
│ │ │ │ │
└──┴──────────────────────────────┘ │ │
│ │
┌─────────────────────────────────┐<───────┘
│ │ │
│ OS/2 linear executable header: │ │
│ │ │
│ ┌──────────────────────────────┤ │
│ │ │ │
│ │ Fixed-size header │────┐ │
│ │ │──┐ │ │
│ ├──────────────────────────────┤<─┘ │ │
│ │ │ │ │
│ │ Loader section │──┐ │ │
│ │ │ │ │ │
│ ├──────────────────────────────┤<───┘ │
│ │ │ │ │
│ │ Fixup section │ │ │
│ │ │ │ │
└──┴──────────────────────────────┘ │ │
┌─────────────────────────────────┐<─┤ │
│ │ │ │
│ Resources │ │ │
│ │ │ │
└─────────────────────────────────┘ │ │
┌─────────────────────────────────┐<─│───┘
│ │ │
│ a.out executable: │ │
│ │ │
│ ┌──────────────────────────────┤ │
│ │ │──│──┐
│ │ a.out header │ │ │
│ │ │ │ │
│ ├──────────────────────────────┤<─┤ │
│ │ │ │ │
│ │ Text segment │ │ │
│ │ │ │ │
│ ├──────────────────────────────┤<─┘<─┤
│ │ │ │
│ │ Data segment │ │
│ │ │ │
│ │ ┌───────────────────────────┤ │
│ │ │ │ │
│ │ │ OS/2 emxbind header │ │
│ │ │ │ │
│ │ ├───────────────────────────┤ │
│ │ │ │ │
│ │ │ Other data │ │
│ │ │ │ │
│ ├──┴───────────────────────────┤<────┘
│ │ │
│ │ Symbol table │
│ │ │
└──┴──────────────────────────────┘