| KERNEL_FORMAT_BSS

Previous | Advanced Options of TIGCC | Next

In nostub mode, if you put

    #define KERNEL_FORMAT_BSS

at the beginning of the program, a BSS section will be created in the same manner as kernel programs do it. A BSS section holds uninitialized global variables. This does not mean that your program will need a kernel to run. Currently, this is the default.
This feature uses the linker-specific symbol __ld_insert_kernel_bss_refs.

See also: MLINK_FORMAT_BSS, COMPRESSED_FORMAT_BSS, MERGE_BSS