Assembler alignment (was Re: a.out binaries that are 66% faster than ELF)

Alan Modra (
Wed, 5 Mar 1997 10:00:21 +1030 (CST)

> Others have also mentioned the difference in alignment (2,4 for a.out
> and 4,16 for ELF) so I imposed the same alignment on the asm output

They actually align the same. The difference is that ".align x"
aligns to "2**x" with the a.out assembler, and to "x" with the elf