Browse Source

+ added enums for OMF segment alignment and combination

git-svn-id: trunk@30404 -
nickysn 10 years ago
parent
commit
1a3bd5fde1
1 changed files with 18 additions and 0 deletions
  1. 18 0
      compiler/omfbase.pas

+ 18 - 0
compiler/omfbase.pas

@@ -100,6 +100,24 @@ interface
     CC_CommandLineMicrosoft     = $FF;
     CC_CommandLineMicrosoft     = $FF;
 
 
   type
   type
+    TOmfSegmentAlignment = (
+      saAbsolute                = 0,
+      saRelocatableByteAligned  = 1,
+      saRelocatableWordAligned  = 2,
+      saRelocatableParaAligned  = 3,
+      saRelocatablePageAligned  = 4,  { 32-bit linkers extension }
+      saRelocatableDWordAligned = 5,  { 32-bit linkers extension }
+      saNotSupported            = 6,
+      saNotDefined              = 7);
+    TOmfSegmentCombination = (
+      scPrivate   = 0,
+      scReserved1 = 1,
+      scPublic    = 2,
+      scReserved3 = 3,
+      scPublic4   = 4,  { same as scPublic }
+      scStack     = 5,
+      scCommon    = 6,
+      scPublic7   = 7); { same as scPublic }
 
 
     { TOmfOrderedNameCollection }
     { TOmfOrderedNameCollection }