RE: [cc65] String Literal Segment in C code

From: Shawn Jefferson <sjefferson1shaw.ca>
Date: 2010-11-28 23:08:35
Ullrich added a feature that will reduce the amount of space taken by string
literals in the rodata segment by using pointers to duplicate strings.  I
believe that this works per object file though, so that is something to keep
in mind when trying to find optimizations for space.  This is something that
could be (or maybe is?) documented better.

 

  _____  

From: owner-cc65@musoftware.de [mailto:owner-cc65@musoftware.de] On Behalf
Of Maspethrose7@aol.com
Sent: Sunday, November 28, 2010 10:09 AM
To: cc65@musoftware.de
Subject: [cc65] String Literal Segment in C code

 

Into which segment do string literals in a C program go?  I need this
information for a text adventure and a library.  Thank you in advance.

 

-------------------
Joseph Rose, a.k.a. Harry Potter
Working magic in the computer community...or at least striving to! :(




----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Nov 28 23:10:09 2010

This archive was generated by hypermail 2.1.8 : 2010-11-28 23:10:12 CET