Yes I'm using CodeWarrior for Palm os, and PC-relative strings is turned on, as well as PC-Relative-Constant Data. The map file shows that the function length is 12 bytes which I know isn't large enough to hold the data, so I don't think it's working the way you think it is.

The assembler for the code is

0004B7A6: 4E560000        link     a6,#0
0004B7AA: 41EDBEE4        lea      -16668(a5),a0
0004B7AE: 4E5E            unlk     a6
0004B7B0: 4E75            rts

BTW this is a multi segment program, if that makes a difference.


Chris Bruner
Compulife Software Inc.
==============================================
----- Original Message ----- From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Thursday, January 12, 2006 7:20 PM
Subject: Re: Fixed string in code.


At 04:27 PM 1/12/2006, you wrote:
You had me all excited, thinking that you had a solution for me. Turns out it
compresses that just as much. This can easily be tested by grep 2006
program.prc

It doesn't find it.

Are you using CodeWarrior for Palm OS? If so, make sure the "PC-relative strings" option is turned on the 68K code generation pref panel.


-- Ben Combee, Senior Software Engineer, Palm, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/


--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to