Mail Archives: djgpp-workers/1999/07/01/00:47:08
I see that the behavior of `.align' in Binutils 2.9.1 has changed for
coff-go32 targets: ".align N" is now the same as ".p2align N", whereas
in 2.8.1 and before it worked like ".balign N". This probably means
that we need to change library sources, but how? What code alignment
do we want, and with what value should we instruct the Gas to pad?
Intel manuals seem to recommend 16-byte alignment, both for code and
for data.
Btw, some library sources use ".align 2", while other (the majority)
use ".align 4". Examples of the former include crt0.S and the new
powi.S (written by Eric Rudd). Is use of 2 intentional in these
cases, and if so, does it mean ".p2align 2" or ".balign 2"?
- Raw text -