Re: [cc65] rodata alignment independent from ld.cfg

From: Ullrich von Bassewitz <>
Date: 2011-01-14 18:57:04
On Fri, Jan 14, 2011 at 05:51:05PM +0100, Gábor Lénárt wrote:
> It's quite
> impossible to create new segments for this, since it would mean to use
> hundreds of segments if I want to optimize my code well.  However even if I
> know the theory behind the reason (why ca65/ld65 work this way) I have no
> idea how to solve these kind of problems too much.  Currently I've given up
> my ideas to optimize my code for DTV this way because of these problems.  Do
> you have any idea what can I do instead of just giving up?  :)

You don't have to create hundreds of segments. Just create one segment that is
aligned and place all the code that must be aligned into this segment.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jan 14 18:57:16 2011

This archive was generated by hypermail 2.1.8 : 2011-01-14 18:57:19 CET