COMPRESSED_FORMAT_BSS

Previous Advanced Options of TIGCC Next

In nostub mode, if you put

#define COMPRESSED_FORMAT_BSS
at the beginning of the program, a BSS section will be created dynamically at run time, and the references into this section will be stored in the program in a compressed format. A BSS section holds uninitialized global variables. 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_bss_refs.


See also: KERNEL_FORMAT_BSS, MLINK_FORMAT_BSS, MERGE_BSS