Prechádzať zdrojové kódy

Solaris assembler does not want 0x90 fill pattern for text section alignment

git-svn-id: trunk@32197 -
pierre 9 rokov pred
rodič
commit
61aa4b6a40
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      compiler/aggas.pas

+ 1 - 1
compiler/aggas.pas

@@ -602,7 +602,7 @@ implementation
                     writer.AsmWrite(','+tostr(fillop))
 {$ifdef x86}
                   { force NOP as alignment op code }
-                  else if LastSecType=sec_code then
+                  else if (LastSecType=sec_code) and (asminfo^.id<>as_solaris_as) then
                     writer.AsmWrite(',0x90');
 {$endif x86}
 {$ifdef m68k}