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

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-01-14 18:58:46
Hi!

On Fri, Jan 14, 2011 at 06:35:00PM +0100, Thomas Giesel wrote:
> > Fill bytes must be
> > added by the assembler, which must rely on an aligned start address.
>
> Is the reason that the object files don't contain information about the
> alignment?

The object files do contain information about the alignment, otherwise the
linker would not be able to complain. But the linker cannot add or remove
stuff from a segment so it cannot add or remove fill bytes necessary for
alignment.

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 Fri Jan 14 18:58:52 2011

This archive was generated by hypermail 2.1.8 : 2011-01-14 18:58:55 CET