flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > please add the directives SectionAligment and FileAligment |
Author |
|
shmel 27 Dec 2010, 11:03
please add the directives SectionAligment and FileAligment for FORMAT PE
|
|||
27 Dec 2010, 11:03 |
|
vid 27 Dec 2010, 11:16
What do you need non-standard section and file alignment for?
|
|||
27 Dec 2010, 11:16 |
|
shmel 27 Dec 2010, 12:18
I modify the source code fasm, but would like to have them in standard assembly
|
|||
27 Dec 2010, 12:18 |
|
revolution 27 Dec 2010, 13:02
Moved to "Compiler Internals"
|
|||
27 Dec 2010, 13:02 |
|
vid 27 Dec 2010, 13:49
Quote: I modify the source code fasm, but would like to have them in standard assembly Yeah, but what for? I am sure you realize how many similar options are there, that someone might sometime want to experiment with. That would overload FASM with zounds options barely ever used, pretty much conflicting with its minimalistic design. Unless there is a real-world reason for supporting such option, I don't see it coming. |
|||
27 Dec 2010, 13:49 |
|
Alphonso 31 Dec 2010, 05:09
VID, didn't any of those EFI drivers / executables you looked at a while back use 32byte section and file alignment?
Most of the ones I've looked at seem to although it doesn't stop there. There is in some cases Terse Executable headers (TE) too (a cut down PE format MZ-->VZ). But I would have to say for the number of times I've used it, it is fairly quick and easy just to change FASM source and have a separate compiled FASM for EFI so can very well understand and agree with your comment. |
|||
31 Dec 2010, 05:09 |
|
vid 31 Dec 2010, 15:20
Quote: VID, didn't any of those EFI drivers / executables you looked at a while back use 32byte section and file alignment? I'm not really sure, it is quite possible for Pre-EFI (PEI) modules. Those were mostly TEs (Terse Executable format that you mentioned), but not exclusively. My guess would be TEs ignore these alignments completely, but there were several "full blown" PEs in PEI last time I checked, where they probably too strived to save precious bytes. We'd need to check all that. If true, this would be a good point, even though still quite a minor one. |
|||
31 Dec 2010, 15:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.