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:
parent
0eed753578
commit
bbef4c04a1
@ -233,12 +233,13 @@ Here is a description of all the command line options:
|
||||
<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.
|
||||
|
Loading…
Reference in New Issue
Block a user