flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
system error
Why doesn't COFF format support ALIGN larger than 4? Any particular reason?
Last edited by system error on 15 Mar 2017, 04:40; edited 1 time in total |
|||
![]() |
|
bitRAKE
IIRC, 2^13 alignment is possible? Are we talking file alignment, section alignment? Can you give an example?
|
|||
![]() |
|
system error
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. |
|||
![]() |
|
system error
I want to know whether it is a COFF / COFF64 -bound specification or something from FASM.
|
|||
![]() |
|
bitRAKE
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.
|
|||
![]() |
|
Tomasz Grysztar
Only the Microsoft extensions to COFF format (the "MS COFF" as it is called in fasm) support custom alignments of sections.
|
|||
![]() |
|
system error
Thanks for clearing that up people. I forgot that a section can be tagged with ALIGN.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.