Topic : Pure C Documentation Author : John Kormylo Version : PC.HYP 1.1 Subject : Documentation/Pure C Nodes : 193 Index Size : 5414 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ Relocation Code ] struct reloc { unsigned char code; /* type of operation */ unsigned char offset; /* offset from last definition */ int symbol; /* index into symbol table, or -1 */ }; Partial List of Codes: 1 - end of code (text + data + BSS). 2 - skip offset + (symbol * 256) bytes. 3 - start of text subsegment. 4 - start of data subsegment. 5 - start of BSS subsegment. 6 - end of library. 7 - define word aligned global address. 8 - define general global address. 9 - define word aligned local address. 10 - define general local address. 11 - relocate absolute. 14 - relocate PC relative. To relate 'symbol' to the text in symbol table, create a pointer array for the strings and use 'symbol' as the array index.