COMPRESSED_FORMAT_DATA_VAR

Previous Advanced Options of TIGCC Next

In nostub mode, if you put

#define COMPRESSED_FORMAT_DATA_VAR
at the beginning of the program, and the data section is put into an external data variable, references into the data variable will be stored in the program in a compressed format. Relocation entries in this format take the smallest space that is reasonable. The relocation code for the compressed format is rather large, but part of it only has to be inserted into the program once if multiple COMPRESSED_FORMAT_... features are used.

This feature uses the linker-specific symbol __ld_insert_compressed_data_refs.


See also: KERNEL_FORMAT_DATA_VAR, MLINK_FORMAT_DATA_VAR