home *** CD-ROM | disk | FTP | other *** search
- ===============================================================================
- 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 │
- │ │ │
- └──┴──────────────────────────────┘
-