flat assembler
Message board for the users of flat assembler.
Index
> Linux > fasm & align |
Author |
|
walker 27 Apr 2007, 22:21
Prompt please why it is not compiled.
fasm refuses align 8 if I use an option "format ELF" Here an example: format ELF use32 align 8 xor eax,eax |
|||
27 Apr 2007, 22:21 |
|
Tomasz Grysztar 22 May 2007, 22:11
The default ELF section is aligned to 4 bytes only, and you cannot align data inside the section more than the section is aligned itself.
Thus, to make it work, you need first to align the section properly (and this is also what the error message says). For example: Code: format ELF section '.code' executable align 8 align 8 xor eax,eax |
|||
22 May 2007, 22:11 |
|
vid 22 May 2007, 22:30
should go to FAQ
|
|||
22 May 2007, 22:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.