-#define MAJOR 1 // Major version number
-#define MINOR 2 // Minor version number
-#define PATCH 1 // Patch release number
+#define MAJOR 1 // Major version number
+#define MINOR 2 // Minor version number
+#define PATCH 3 // Patch release number
// Macro to swap the 16-bit words of a 32-bit integer
#define _SWAPWORD(x) (((unsigned)(x) >> 16) | ((unsigned)(x) << 16))
// Macro to swap the 16-bit words of a 32-bit integer
#define _SWAPWORD(x) (((unsigned)(x) >> 16) | ((unsigned)(x) << 16))
-#define FARGSIZE 1024 // Number of chars in filename argument
-#define FNLEN 1024 // Size of a file name
-#define NHANDLES 256 // Number of open file handles at once
-#define OST_BLOCK 0x400000 // Output symbol table block (4MB)
-#define DSTSEG_D 1 // Include file destination seg (DATA)
-#define DSTSEG_T 2 // Include file destination seg (TEXT)
-#define MAXARGS 256 // Max number of args in a command file
+#define FARGSIZE 1024 // Number of chars in filename argument
+#define FNLEN 1024 // Size of a file name
+#define NHANDLES 256 // Number of open file handles at once
+#define OST_BLOCK 0x400000 // Output symbol table block (4MB)
+#define DSTSEG_D 1 // Include file destination seg (DATA)
+#define DSTSEG_T 2 // Include file destination seg (TEXT)
+#define MAXARGS 256 // Max number of args in a command file
- struct { // For .abs
- uint32_t stksize; // Unused
- uint32_t tstart; // Start of TEXT
- uint32_t rbflag; // -1 if no fixups at all
- uint32_t dstart; // Start of DATA
- uint32_t bstart; // Start of BSS
+ struct { // For .abs
+ uint32_t stksize; // Unused
+ uint32_t tstart; // Start of TEXT
+ uint32_t rbflag; // -1 if no fixups at all
+ uint32_t dstart; // Start of DATA
+ uint32_t bstart; // Start of BSS
- uint8_t * ostbase; // Base of output symbol table
- uint32_t fsize; // Length of fixups
- uint8_t * fixups; // Start of fixups
+ uint8_t * ostbase; // Base of output symbol table
+ uint32_t fsize; // Length of fixups
+ uint8_t * fixups; // Start of fixups
- uint8_t o_name[FNLEN]; // Fixed-length names
- uint8_t o_arname[FNLEN]; // Name of archive this is from
- struct OFILE * o_next; // Next object file
- uint32_t o_tbase, o_dbase, o_bbase; // Computed bases for this ofile
- uint16_t o_symstart; // First sym in image is nth in out
- uint16_t o_flags; // Flags (see O_*)
- struct OHEADER o_header; // Header of this file
- uint8_t * o_image; // Image of this file
+ uint8_t o_name[FNLEN]; // Fixed-length names
+ uint8_t o_arname[FNLEN]; // Name of archive this is from
+ struct OFILE * o_next; // Next object file
+ uint32_t o_tbase, o_dbase, o_bbase; // Computed bases for this ofile
+ uint16_t o_symstart; // First sym in image is nth in out
+ uint16_t o_flags; // Flags (see O_*)
+ struct OHEADER o_header; // Header of this file
+ uint8_t * o_image; // Image of this file
// Flags in an Object File's o_flags field
// O_USED: means this ofile is used or is on the command line or in a -x
#define O_USED 0x0001
// Flags in an Object File's o_flags field
// O_USED: means this ofile is used or is on the command line or in a -x
#define O_USED 0x0001
// linker for the output symbol table (that's why there are type and value
// fields, unused in builddir)
// linker for the output symbol table (that's why there are type and value
// fields, unused in builddir)