5.7.1.1 G: Specify Small Data Size Threshold Option
The -G num
option specifies the size (in bytes) of the largest
objects with permanent storage duration that will be will be placed into the small data
or bss sections instead of the normal data or bss sections. Having objects in the small
data/bss sections allows them to be accessed using a single instruction.
All modules should be compiled with the same num
value.