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

From: Ullrich von Bassewitz <>
Date: 2011-01-14 14:47:59
On Wed, Jan 12, 2011 at 09:46:31PM +0100, Thomas Giesel wrote:
> Is there a way to put data in rodata on an aligned address without
> having an aligned rodata segment?

No. While the linker determines the placement of a segment, it cannot change
the size. Which means that the linker cannot add or remove fill bytes to force
an alignment within a segment. Fill bytes must be added by the assembler,
which must rely on an aligned start address.



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 14:48:06 2011

This archive was generated by hypermail 2.1.8 : 2011-01-14 14:48:10 CET