#ifndef DOS_DOSHUNKS_H #define DOS_DOSHUNKS_H /* ** $VER: doshunks.h 36.9 (2.6.92) ** Includes Release 40.15 ** ** Hunk definitions for object and load modules. ** ** (C) Copyright 1989-1993 Commodore-Amiga, Inc. ** All Rights Reserved */ /* hunk types */ #define HUNK_UNIT 999 #define HUNK_NAME 1000 #define HUNK_CODE 1001 #define HUNK_DATA 1002 #define HUNK_BSS 1003 #define HUNK_RELOC32 1004 #define HUNK_ABSRELOC32 HUNK_RELOC32 #define HUNK_RELOC16 1005 #define HUNK_RELRELOC16 HUNK_RELOC16 #define HUNK_RELOC8 1006 #define HUNK_RELRELOC8 HUNK_RELOC8 #define HUNK_EXT 1007 #define HUNK_SYMBOL 1008 #define HUNK_DEBUG 1009 #define HUNK_END 1010 #define HUNK_HEADER 1011 #define HUNK_OVERLAY 1013 #define HUNK_BREAK 1014 #define HUNK_DREL32 1015 #define HUNK_DREL16 1016 #define HUNK_DREL8 1017 #define HUNK_LIB 1018 #define HUNK_INDEX 1019 /* * Note: V37 LoadSeg uses 1015 (HUNK_DREL32) by mistake. This will continue * to be supported in future versions, since HUNK_DREL32 is illegal in load files * anyways. Future versions will support both 1015 and 1020, though anything * that should be usable under V37 should use 1015. */ #define HUNK_RELOC32SHORT 1020 /* see ext_xxx below. New for V39 (note that LoadSeg only handles RELRELOC32).*/ #define HUNK_RELRELOC32 1021 #define HUNK_ABSRELOC16 1022 /* * Any hunks that have the HUNKB_ADVISORY bit set will be ignored if they * aren't understood. When ignored, they're treated like HUNK_DEBUG hunks. * NOTE: this handling of HUNKB_ADVISORY started as of V39 dos.library! If * lading such executables is attempted under