digitalmars.D.bugs - [Issue 1380] New: dmd generate wrong end record, and linker doesn't check this checksum
- d-bugmail puremagic.com (18/18) Jul 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1380
- d-bugmail puremagic.com (14/14) Sep 04 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1380
http://d.puremagic.com/issues/show_bug.cgi?id=1380
Summary: dmd generate wrong end record, and linker doesn't check
this checksum
Product: D
Version: unspecified
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: davidl 126.com
the end record of OMF obj file generated by DMD is:
8a 0200 0000
while the checksum is wrong, it should be 0x74, and the linker doesn't check
this
--
Jul 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1380
bugzilla digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
The checksum value emitted is 0, which is a valid value meaning "ignore the
checksum", which is why the linker ignores it.
The checksum serves no useful modern purpose, as obj files are not on easily
corrupted media anymore like paper tape or crummy analog phone lines. Also,
generating and checking the checksum slows down compilation speed.
So, it isn't done, by design. It isn't broken.
--
Sep 04 2007








d-bugmail puremagic.com