From 7d94dc50a11d5945c6c972f685a085a849550f12 Mon Sep 17 00:00:00 2001 From: uz Date: Tue, 8 Dec 2009 20:35:24 +0000 Subject: [PATCH] New option and #pragma --local-strings that causes string literals to be output immediately. git-svn-id: svn://svn.cc65.org/cc65/trunk@4504 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/cc65.sgml | 29 +++++++++++++++ src/cc65/compile.c | 4 +-- src/cc65/global.c | 2 +- src/cc65/global.h | 1 + src/cc65/litpool.c | 89 +++++++++++++++++++++++++++++++--------------- src/cc65/litpool.h | 4 +-- src/cc65/main.c | 13 ++++++- src/cc65/pragma.c | 6 ++++ 8 files changed, 113 insertions(+), 35 deletions(-) diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 6ae45dcac..fcbe186a2 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -84,6 +84,7 @@ Long options: --forget-inc-paths Forget include search paths --help Help (this text) --include-dir dir Set an include directory search path + --local-strings Emit string literals immediately --register-space b Set space available for register variables --register-vars Enable register variables --rodata-name seg Set the name of the RODATA segment @@ -192,6 +193,20 @@ Here is a description of all the command line options: Print the short option summary shown above. +