Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/ilasm
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2009-03-31 22:32:36 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2009-03-31 22:32:36 +0400
commit2c9c2deebc1f420de0f0f6f2aef4f582c5bbd7e3 (patch)
tree4dfca70762da7a75676eefa96ee8e8b794993e4b /mcs/ilasm
parent36cbd6f5f220bf4b8318783f225b42d1d2211d39 (diff)
2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
* MethodDef.cs (WriteCode): Emit labels which use offsets as absolute PEAPI CilLabels. svn path=/trunk/mcs/; revision=130692
Diffstat (limited to 'mcs/ilasm')
-rw-r--r--mcs/ilasm/codegen/ChangeLog5
-rw-r--r--mcs/ilasm/codegen/MethodDef.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/ilasm/codegen/ChangeLog b/mcs/ilasm/codegen/ChangeLog
index bab6815d1c2..d909a075d23 100644
--- a/mcs/ilasm/codegen/ChangeLog
+++ b/mcs/ilasm/codegen/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-31 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * MethodDef.cs (WriteCode): Emit labels which use offsets as absolute PEAPI
+ CilLabels.
+
2008-07-02 Ankit Jain <jankit@novell.com>
Fix bug #405383
diff --git a/mcs/ilasm/codegen/MethodDef.cs b/mcs/ilasm/codegen/MethodDef.cs
index c32a219b08f..e048f6b709a 100644
--- a/mcs/ilasm/codegen/MethodDef.cs
+++ b/mcs/ilasm/codegen/MethodDef.cs
@@ -572,7 +572,7 @@ namespace Mono.ILASM {
foreach (LabelInfo label in label_info) {
if (label.UseOffset) {
- label.Define (new PEAPI.CILLabel (label.Offset));
+ label.Define (new PEAPI.CILLabel (label.Offset, true));
continue;
}
if (label.Pos == previous_pos)