SPRAB89A September 2011 – March 2014
The compiler and assembler generate code into one or more sections. The default code section is called .text, but the programmer may direct code into additional named sections. The linker combines code sections into one or more segments. The base ABI imposes no restrictions on the number, size, or placement of code sections, although there may be platform-specific restrictions.
Except for the compact instruction encoding format of the C64x+, all instructions on the C6000 are 32 bits wide. Labels that represent function addresses, as well as most other labels, are always aligned on 32-bit boundaries. Considerations for compact instructions are discussed in Section 5.5.
There are three ways a code object can be referenced: computing its address, as a branch destination, or by calling it as a function.