mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
b6ba0a23f9
It seems that the odd alignment-padding code was simply dead in older versions of NASM. This means that the COFF backend behavior really was the same as the other backends. Remove that stale code and revert to previous/common behavior. Reported-by: ig <glucksmann@avast.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
18 lines
141 B
NASM
18 lines
141 B
NASM
section .text align=64
|
|
foo:
|
|
nop
|
|
nop
|
|
nop
|
|
ret
|
|
|
|
section .data align=64
|
|
bar:
|
|
db 0, 1, 2
|
|
|
|
section .text align=32
|
|
baz:
|
|
nop
|
|
nop
|
|
nop
|
|
ret
|