Re: [cc65] .align

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2000-02-06 08:40:25


> It also uses the wrong fillval for alignment (0x00 rather than
> whatever was specified in the linker Config file).

This works in my tests. Can you send me the linker config file that is
causing you problems?

> After it's moved, is it still necessary to also have an align=###
> directive in the linker Config file?

Yes, that is necessary. The alignment of the segment in the config file must
be at least as large as the alignments of the single segment sections in the
object files. 

It would be possible to drop that requirement for binary files, because the
linker knows the start address of the segment. But first, it would be more
confusing, and second, it will no longer work with relocatable formats like
o65, where the exact starting address is not known.

Regards


	Uz


--
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:35 CET