view dmd/ObjModule.d @ 184:9f4e5ac4f0a3

One step closer to building on posix. There are two missing symbols so it actually doesn't build but previously it didn't build correctly anyway.
author Jacob Carlborg <doob@me.com>
date Tue, 02 Nov 2010 08:46:11 +0100
parents 10317f0c89a5
children
line wrap: on
line source

module dmd.ObjModule;

struct ObjModule
{
	ubyte* base;			// where are we holding it in memory
    uint length;			// in bytes
    ushort page;			// page module starts in output file
    ubyte flags;
    string name;				// module name
}

enum MFgentheadr = 1;	// generate THEADR record
enum MFtheadr = 2;	// module name comes from THEADR record