Did you check the output file? In my tests a .align 4 aligned to 4 bytes not 16.
Sent from my mobile phone
On 22.05.2011, at 19:18, "Scott Duplichan" scott@notabs.org wrote:
Stefan Reinauer wrote:
]>>> + .align 4 ]>> Shouldn't this be .align 16 then? ]> The as(1) info page says it's in bits on x86. ]> ]> Jonathan Kollasch ]> ]Oh does it? This used to be only the case for i386 + a.out. It seems at ]least the coreboot reference compiler assumes those are bytes.
It's easy enough to check. I changed the value from 4 to 5:
romstrap.inc:24: Error: alignment not a power of 2
Thanks, Scott
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot