11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Linker and UtilitiesOperationThe token N is replaced by the ordinal number of the segment, which is allocated by the linker. Forexample:N*8+4means "take the segment number, multiply by 8 then add 4". The result is the segment selector. Thisparticular example would allocate segment selectors in the sequence 4, 12, 20, ... for the numberof segments defined. This would be appropriate when compiling for 80286 protected mode, wherethese selectors would represent LDT entries.5.7.10 -HsymfileThis option will instruct the linker to generate a symbol file. The optional argument symfilespecifies a file to receive the symbol file. The default file name is l.sym.5.7.11 -H+symfileThis option will instruct the linker to generate an enhanced symbol file, which provides, in additionto the standard symbol file, class names associated with each symbol and a segments section whichlists each class name and the range of memory it occupies. This format is recommended if the codeis to be run in conjunction with a debugger. The optional argument symfile specifies a file toreceive the symbol file. The default file name is l.sym.5.7.12 -JerrcountThe linker will stop processing object files after a certain number of errors (other than warnings).The default number is 10, but the -J option allows this to be altered.5.7.13 -KFor compilers that use a compiled stack, the linker will try and overlay function auto and parameterareas in an attempt to reduce the total amount of RAM required. For debugging purposes, this featurecan be disabled with this option.5.7.14 -IUsually failure to resolve a reference to an undefined symbol is a fatal error. Use of this option willcause undefined symbols to be treated as warnings instead.95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!