SPRAC71B February 2019 – October 2023
Build attributes are classified as vendor-specific or ABI-specific. The section documents build attributes that are ABI-specific. Vendors are free to implement additional toolchain-specific attributes.
Every ABI conforming relocatable file must contain the build attributes section of type SHT_C28x_ATTRIBUTES (0x70000003), conventionally named C28x.attributes. An executable file can optionally contain the build attributes section. A conforming tool should only use the section type to recognize the build attribute section.
The build attributes section consists of a one-byte version specifier with the value 'A' (0x41), followed by a sequence of vendor subsections.
Each subsection has the following format:
The length field specifies the length in bytes of the entire subsection. The vendor name “C28x” is reserved for ABI-specified attributes. The format and interpretation of vendor data in other subsections is vendor-specific.