13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>profile [flags | default | restore] (*) / endprofileControl the profile settings. The pragma works the same as C compiler option --profile. Note that thispragma will only be checked at the start of a function. endprofile switches back to the previous profilingsettings.profiling [on | off | default | restore] (*)If profiling is enabled on the command line (C compiler option --profile), you can disable part of yoursource code <strong>for</strong> profiling with the pragmas profiling off and profiling.protect [on | off | default | restore] (*) / endprotectWith these pragmas you can protect sections against linker optimizations. This excludes a section fromunreferenced section removal and duplicate section removal by the linker. endprotect restores thedefault section protection.runtime [flags | default | restore] (*)With this pragma you can control the generation of additional code to check <strong>for</strong> a number of errors atrun-time.The pragma argument syntax is the same as <strong>for</strong> the arguments of the C compiler option --runtime.You can use this pragma to control the run-time checks <strong>for</strong> individual statements. In addition, objectsdeclared when the "bounds" sub-option is disabled are not bounds checked. The "malloc" sub-optioncannot be controlled at statement level, as it only extracts an alternative malloc implementation from thelibrary.section [name=]{suffix |-f|-m|-fm} [default | restore] (*) / endsectionRename sections by adding a suffix to all section names specified with name, or restore default sectionnaming. If you specify only a suffix (without a name), the suffix is added to all section names. See Ccompiler option --rename-sections and assembler directive .SECTION <strong>for</strong> more in<strong>for</strong>mation.section_code_init [on | off | default | restore] (*) / section_no_code_initCopy or do not copy code sections from ROM to RAM at application startup.section_const_init [on | off | default | restore] (*) / section_no_const_initCopy or do not copy read-only data sections from ROM to RAM at application startup.silicon_bug [bug,...] [default | restore] (*)Without arguments, all silicon bug workarounds are enabled. Alternatively, you can specify acomma-separated list of silicon bug workarounds.See C compiler option --silicon-bug and Chapter 18, CPU Problem Bypasses and Checks.18

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

Saved successfully!

Ooh no, something went wrong!