X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rln;a=blobdiff_plain;f=rln.h;h=2a51fa94005d7543aa3262e21b5b89c8495c8508;hp=ebb575ce4ecb70712fcd14f4fc4af00e62ca804c;hb=HEAD;hpb=304cdee3e0d3253c22eb380a76e30b32b720bb77 diff --git a/rln.h b/rln.h index ebb575c..2a51fa9 100644 --- a/rln.h +++ b/rln.h @@ -44,7 +44,7 @@ #define MAJOR 1 // Major version number #define MINOR 7 // Minor version number -#define PATCH 1 // Patch release number +#define PATCH 4 // Patch release number #ifdef WIN32 #define PLATFORM "Win32" // Release platform - Windows @@ -250,18 +250,15 @@ struct OFILE // Symbol Record -// SYMREC: Used by builddir for the lists of exports and imports, and by the -// linker for the output symbol table (that's why there are type and value -// fields, unused in builddir) +// SYMREC: Used by the linker for the output symbol table -#define SYMLEN 100 // Symbol name size (incl. null) +#define OST_SIZE_INIT 8 // Half the initial output symbol table size struct SYMREC { - uint8_t s_name[SYMLEN]; // Including null terminator - uint16_t s_type; + uint32_t s_idx; + uint32_t s_type; uint32_t s_value; - struct SYMREC * s_next; }; #define new_symrec() (struct SYMREC *)malloc(sizeof(struct SYMREC)) @@ -272,6 +269,8 @@ struct SYMREC // and Globals share a hash table, but their value fields are interpreted // differently. +#define SYMLEN 256 // Symbol name size (incl. null) + struct HREC { uint8_t h_sym[SYMLEN];