comparison lwlink/lwlink.h @ 243:f9f01a499525 2.x

Added zero-width external references
author lost
date Tue, 15 Sep 2009 03:16:17 +0000
parents 42df94f30d82
children e8d70b95ec41
comparison
equal deleted inserted replaced
242:848d55b181f0 243:f9f01a499525
39 symtab_t *next; // next symbol 39 symtab_t *next; // next symbol
40 }; 40 };
41 41
42 #define RELOC_NORM 0 // all default (16 bit) 42 #define RELOC_NORM 0 // all default (16 bit)
43 #define RELOC_8BIT 1 // only use the low 8 bits for the reloc 43 #define RELOC_8BIT 1 // only use the low 8 bits for the reloc
44 #define RELOC_0BIT 2 // don't actual stuff a reloc anywhere!
44 typedef struct reloc_s reloc_t; 45 typedef struct reloc_s reloc_t;
45 struct reloc_s 46 struct reloc_s
46 { 47 {
47 int offset; // where in the section 48 int offset; // where in the section
48 int flags; // flags for the relocation 49 int flags; // flags for the relocation