Browse Source

+ added TRelRelocationFlags

git-svn-id: trunk@45261 -
nickysn 5 years ago
parent
commit
732f1d9df6
1 changed files with 16 additions and 0 deletions
  1. 16 0
      compiler/ogrel.pas

+ 16 - 0
compiler/ogrel.pas

@@ -38,10 +38,26 @@ interface
        owbase;
        owbase;
 
 
     type
     type
+      TRelRelocationFlag=(
+        rrfByte,                              { bit  0 }
+        rrfSymbol,                            { bit  1 }
+        rrfPcRelative,                        { bit  2 }
+        rrfTwoByteObjectFormatForByteData,    { bit  3 }
+        rrfUnsignedByteData,                  { bit  4 }
+        rrfPage0Reference,                    { bit  5 }
+        rrfPageNNNReference,                  { bit  6 }
+        rrfMSBWith2ByteMode,                  { bit  7 }
+        rrfThreeByteObjectFormatForByteData,  { bit  8 }
+        rrfRealMSBForThreeByteMode,           { bit  9 }
+        rrfReserved10,                        { bit 10 }
+        rrfReserved11);                       { bit 11 }
+      TRelRelocationFlags=set of TRelRelocationFlag;
 
 
       { TRelRelocation }
       { TRelRelocation }
 
 
       TRelRelocation = class(TObjRelocation)
       TRelRelocation = class(TObjRelocation)
+      public
+        RelFlags: TRelRelocationFlags;
       end;
       end;
 
 
       { TRelObjData }
       { TRelObjData }