SPRU513Z August 2001 – October 2023 SM320F28335-EP
By default, the linker does not compress copy table (Section 3.3.3 and Section 8.8) source data sections. The --cinit_compression and --copy_compression options specify compression through the linker. These options are supported only when you use EABI by specifying the --abi=eabi option. They are not supported for COFF object modules.
The --cinit_compression option specifies the compression type the linker applies to the C autoinitialization copy table source data sections. The default is lzss.
Overlays can be managed by using linker-generated copy tables. To save ROM space the linker can compress the data copied by the copy tables. The compressed data is decompressed during copy. The --copy_compression option controls the compression of the copy data tables.
The syntax for the options are:
--cinit_compression[=compression_kind]
--copy_compression[=compression_kind]
The compression_kind can be one of the following types:
See Section 8.8.5 for more information about compression.