Release Enhancements
The section in which the entry point of a C program is defined cannot be marked as a conditionally linked section. The compiler marks all function veneers as conditionally linked.
You must link with the ±a linker option, which creates an absolute, execut- able output module, to enable conditional linking. The ±j linker option disables conditional linking.
For information on the .clink directive, see the Assembler Directives chapter of the TMS470R1x Assembly Language Tools User's Guide; for information on the ±j linker option, see the Linker Description chapter.
C compiler enhancements
The TMS470R1x optimizing C compiler enhancements are as follows. For more information, see the named chapter of the TMS470R1x Optimizing C Compiler User's Guide.
-You can specify command line options in a file. When you specify that file on the command line with the ±@ shell option, the compiler reads the file and interprets it as if it contained part of the command line. For more information, see the Compiler Description chapter.
-The options that invoke the interlist utility with the shell have changed. The ±s option interlists optimizer comments (if the optimizer is invoked) and assembly statements; otherwise it interlists C source and assembly state- ments. The ±ss option interlists C source and assembly statements. A new option, the ±os option, interlists optimizer comments with assembly state- ments. To interlist C source and assembly statements with optimizer comments, use the ±os and ±ss options when invoking the optimizer. For more information, see the Compiler Description and Optimizing Your Code chapters.
-Global register variables are now supported. For more information, see the TMS470R1x C Language chapter.
-
-The alignment of structures has changed. In previous releases, all struc- tures were word aligned. Now, a structure is aligned according to the align- ment of the structure's most restrictive element. For more information, see the Runtime Environment chapter.
-Software interrupts are supported for C code. You define the software interrupt with the SWI_ALIAS pragma. For more information, see the TMS470R1x C Language and Runtime Environment chapters.
Release Notes |