1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Added note about behaviour of --local-strings (Greg King).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5969 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2013-01-26 23:00:39 +00:00
parent 0eed753578
commit bbef4c04a1

View File

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