| MERGE_BSS

Previous | Advanced Options of TIGCC | Next

In nostub mode, if you do not want the BSS section (which holds all uninitialized global variables) to be created dynamically, you can write

    #define MERGE_BSS

at the beginning of all files. Unlike the '-mno-bss' compiler switch, this ensures that the variables are initialized to zero.

See also: KERNEL_FORMAT_BSS, MLINK_FORMAT_BSS, COMPRESSED_FORMAT_BSS