<label id="option-local-strings">
<tag><tt>--local-strings</tt></tag>
- Emit string literals to the data segment when they're encountered in the
- source. The default is to keep string literals until end of assembly, merge
- read only literals if possible, and then output the literals into the data
- or rodata segment that is active at that point. Use of this option prevents
- merging of duplicate strings, but the options that change the name of one of
- the data segments will work.
+ Emit string literals into the rodata segment as soon as they're encountered
+ in the source (even if you do nothing but get the sizeof those strings). The
+ default is to keep string literals until end of assembly, merge read only
+ literals if possible, and then output the literals into the data or rodata
+ segment that is active at that point. Use of this option prevents merging of
+ duplicate strings, but the options that change the name of one of the data
+ segments will work.
You can also use <tt><ref id="pragma-local-strings"
name="#pragma local-strings"></tt> for fine grained control.