bugDotGNU Portable.NET - Bugs: bug #2567, FYI. Rotor IDASM bug : test.il:8:...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2567: FYI. Rotor IDASM bug : test.il:8: data label `D_0x00024000' undefined

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Sun 16 Feb 2003 09:03:41 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 03 Mar 2003 12:54:05 AM UTC, comment #4:

This is not finished yes. please reopen.

James Michael DuPont <mdupont>
Sun 02 Mar 2003 05:06:50 PM UTC, comment #3:

>>Round-tripping with dis-similar tools is not a design goal.


This error occurs even when roundtripping in pnet.
please reopen it, I will try and fix this. All it will be on the ilasm is a two pass, the first collects data.
the second does the rest. The same thing for the ildasm.

mike

James Michael DuPont <mdupont>
Sat 01 Mar 2003 01:10:56 AM UTC, comment #2:

Too difficult to fix at this time, and not a high priority.
Round-tripping with dis-similar tools is not a design goal.

Rhys Weatherley <rweather>
Project Administrator
Sun 16 Feb 2003 09:40:55 AM UTC, comment #1:

Technically according to the spec, ".data" sections can appear anywhere in the IL source file, including after they are referenced. But because this can be hard to assemble, I added a "declare before use" constraint to pnet's ilasm.

So, this is a bug in pnet's ilasm, not Rotor's, but whether it is actually worth fixing is open to debate. I think I've stated before that round tripping will only be supported with similar tools, not dis-similar ones.

I will leave this open for a couple of days and see if there is a simple hack that I can add to support this before closing it.

Rhys Weatherley <rweather>
Project Administrator
Sun 16 Feb 2003 09:03:41 AM UTC, original submission:

This code is badly generated code from rotor ildasm.
I have raised it in our bug system so that others may see it
and not raise it again.

Rotor puts the data sections (at D_0x000) after the objects that use it. This does not seem to be valid.

In order to compile il code from Rotor, you need to put these data sections at the top of the files.

Error message is :
test.il:8: data label `D_0x00024000' undefined

James Michael DuPont <mdupont>

 

Attached Files
file #303:  test.il added by mdupont (541B - application/octet-stream - Example output of rotor)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Mar 2003 01:10:56 AM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1