flat assembler
Message board for the users of flat assembler.
Index
> Windows > Why doesn't COFF format support ALIGN larger than 4? |
Author |
|
bitRAKE 15 Mar 2017, 04:31
IIRC, 2^13 alignment is possible? Are we talking file alignment, section alignment? Can you give an example?
|
|||
15 Mar 2017, 04:31 |
|
system error 15 Mar 2017, 04:43
I meant larger than 4. Sorry.
FASM complains "section not align enough" both in code and data if I used "ALIGN 8". I meant that directive ALIGN. |
|||
15 Mar 2017, 04:43 |
|
system error 15 Mar 2017, 04:46
I want to know whether it is a COFF / COFF64 -bound specification or something from FASM.
|
|||
15 Mar 2017, 04:46 |
|
bitRAKE 15 Mar 2017, 14:18
ALIGN bases it's limitations on the section alignment to insure granularity is actually possible. So, I would assume you've not aligned the section sufficiently.
_________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
15 Mar 2017, 14:18 |
|
Tomasz Grysztar 15 Mar 2017, 14:46
Only the Microsoft extensions to COFF format (the "MS COFF" as it is called in fasm) support custom alignments of sections.
|
|||
15 Mar 2017, 14:46 |
|
system error 21 Mar 2017, 06:06
Thanks for clearing that up people. I forgot that a section can be tagged with ALIGN.
|
|||
21 Mar 2017, 06:06 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.