From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2000-02-06 18:30:57
> It's the assembler that does the alignment in these cases. It doesn't > read the linker Config file so it has no way of knowing better. Ok, that makes sense. When using .align, the assembler inserts as many bytes as needed and marks the segment in the object file, so that the linker can align the start address. > It's not really causing me problems --- it fills maybe 15 bytes with > 0x00 instead of 0xff, which really is not a problem. :) It is no problem to add this. I will add an optional second argument to .align to specify a fill value. The .res directive has such a second argument, so adding one to .align make the command set more orthogonal. If there is no second argument, a special fill fragment will be created so that the linker can emit bytes with the correct value. I will send you the patch for testing as soon as it is finished. 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.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:35 CET