flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Compiler Internals > MS COFF characteristics | 
  
| Author | 
  | 
              
| 
                  
                   SFeLi 19 Oct 2009, 13:41 
                  In MS COFF output files fasm sets IMAGE_FILE_HEADER.Characteristics to 0x00000184 (IMAGE_FILE_32BIT_MACHINE or IMAGE_FILE_BYTES_REVERSED_LO or IMAGE_FILE_LINE_NUMS_STRIPPED). Is this correct?
 
                  
                
 What about the other compilers and assemblers? Which combination of characteristics is correct? Shouldn’t fasm set only IMAGE_FILE_32BIT_MACHINE or even 0?  | 
              |||
                  
  | 
              
| 
                  
                   SFeLi 02 Nov 2009, 16:35 
                  No ideas? 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   vid 02 Nov 2009, 22:23 
                  If the specification says they are deprecated, FASM IMO shouldn't set them, even though it isn't such a big deal. Let's wait for tomasz's attention. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   rugxulo 03 Nov 2009, 23:04 
                  vid, everything is deprecated, esp. when the original programmers are nowhere to be found! So I wouldn't worry too much about that. (Besides, even standard COFF used by DJGPP differs in many ways, so there is no agreed upon settings anyways.) 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Tomasz Grysztar 03 Nov 2009, 23:14 
                  Nevertheless, fasm generated the standard COFF only when "format COFF" is specified, while "format MS COFF" should conform to Microsoft specification.
 
                  
                Therefore this should be fixed - please wait for the next release.  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.