On Wed, Mar 11, 2009 at 11:14:24AM -0700, Winslow, Dan D (US SSA) wrote: > Is there a way to force these literals to be in the same output file as > the variables that point to them are? The literal pool is written into the rodata segment (or the data segment if --writable-strings is in effect). This is done after compilation is complete. In your case, one of the last actions is to restore the rodata segment to it's initial value - and this is where the literal pool finally goes. If you remove the push/pop sequence and just set the new segment name, things will probably work as you expect it. This can be easily controlled in the generated assembler source without first generating any output files by the linker. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Mar 11 19:25:58 2009
This archive was generated by hypermail 2.1.8 : 2009-03-11 19:26:00 CET