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

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-01-14 20:15:37
On Fri, Jan 14, 2011 at 08:03:48PM +0100, Gábor Lénárt wrote:
> You haven't got my point, I think. For sure, I can do that. But I also want to
> align "randomly" throughout the code to insert eg as many NOPs as it needs
> to have the next opcode 4 byte alignmented.  Or to have some given code
> aligned even if I insert/delete opcodes before that part.

Sorry, but then I don't understand your problem. What's wrong with adding

        .align  4, $90

in the relevant places?

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 20:15:45 2011

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