diff options
author | Vladimir Panteleev <git@thecybershadow.net> | 2016-11-29 13:28:21 +0300 |
---|---|---|
committer | Vladimir Panteleev <git@thecybershadow.net> | 2016-11-29 13:28:21 +0300 |
commit | c0b9100de822c7c33e9016b6df00db5e12962441 (patch) | |
tree | 7e282c6a3e25c77b56b459ecd9ac9e9a12cfaaf8 /mcs/class/PEAPI | |
parent | e186dcff2c2b6c6f32c72858425ba8b9d8b33efb (diff) |
ilasm: Add stub parsing for .data cil attribute
The "cil" attribute seems to indicate that the data should be placed
in the .text section, along with the code.
Like the tls attribute, the cil attribute is only implemented insofar
as to recognize it as a valid keyword that can occur in a .data
declaration.
Diffstat (limited to 'mcs/class/PEAPI')
-rw-r--r-- | mcs/class/PEAPI/Metadata.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/class/PEAPI/Metadata.cs b/mcs/class/PEAPI/Metadata.cs index f0dd7de3176..d9b17da6a81 100644 --- a/mcs/class/PEAPI/Metadata.cs +++ b/mcs/class/PEAPI/Metadata.cs @@ -95,6 +95,11 @@ namespace PEAPI { Synchronised = 0x0020, Synchronized = 0x0020, NoInLining = 0x0008, Optil = 0x0002} /// <summary> + /// Storage location for initial field data + /// </summary> + public enum DataSegment { Data, TLS, CIL } + + /// <summary> /// Modes for a parameter /// </summary> public enum ParamAttr { Default, In, Out, Opt = 16, HasDefault = 0x1000, HasFieldMarshal = 0x2000 } |