Re: [cc65] Problem with .align

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-06-08 20:36:41
Hi!

On Wed, Jun 08, 2011 at 06:06:57AM +0300, thefox xofeht wrote:
> Yeah there was another module that put stuff in the same segment.
> Here's a simplified example: http://thefox.aspekt.fi/align-problem.zip

This is an error in the linker. The variable that holds the amount of fill
bytes for a section (= part of a segment that comes from one object file) was
declared as an unsigned char, so $15D fill bytes got truncated to $5D, which
explains, why exactly $100 bytes are missing:-)

I will fix it. A fixed snapshot version will be available tomorrow. Thanks for
the report!

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 Jun 8 20:36:50 2011

This archive was generated by hypermail 2.1.8 : 2011-06-08 20:36:54 CEST