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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Linker and UtilitiesOperationhex number, a trailing H should be added, e.g. 765FH will be treated as a hex number.5.7.2 -Aclass=low-high,...Normally psects are linked according to the information given to a -P option (see below) but sometimesit is desired to have a class of psects linked into more than one non-contiguous address range.This option allows a number of address ranges to be specified for a class. For example:-ACODE=1020h-7FFEh,8000h-BFFEhspecifies that the class CODE is to be linked into the given address ranges. Note that a contributionto a psect from one module cannot be split, but the linker will attempt to pack each block from eachmodule into the address ranges, starting with the first specified.Where there are a number of identical, contiguous address ranges, they may be specified with arepeat count, e.g.-ACODE=0-FFFFhx16specifies that there are 16 contiguous ranges each 64k bytes in size, starting from zero. Even thoughthe ranges are contiguous, no code will straddle a 64k boundary. The repeat count is specified as thecharacter x or * after a range, followed by a count.5.7.3 -CxThese options allow control over the call graph information which may be included in the map fileproduced by the linker. The -CN option removes the call graph information from the map file. The-CC option only include the critical paths of the call graph. A function call that is marked with a * ina full call graph is on a critical path and only these calls are included when the -CC option is used.A call graph is only produced for processors and memory models that use a compiled stack.5.7.4 -Cpsect=classThis option will allow a psect to be associated with a specific class. Normally this is not required onthe command line since classes are specified in object files.5.7.5 -Dclass=deltaThis option allows the delta value for psects that are members of the specified class to be defined.The delta value should be a number and represents the number of bytes per addressable unit ofobjects within the psects. Most psects do not need this option as they are defined with a delta value.93

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

Saved successfully!

Ooh no, something went wrong!