Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature-vt/sys/src/libmach/obj.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/*
2
 * obj.h -- defs for dealing with object files
3
 */
4
 
5
typedef enum Kind		/* variable defs and references in obj */
6
{
7
	aNone,			/* we don't care about this prog */
8
	aName,			/* introduces a name */
9
	aText,			/* starts a function */
10
	aData,			/* references to a global object */
11
} Kind;
12
 
13
typedef struct	Prog	Prog;
14
 
15
struct Prog		/* info from .$O files */
16
{
17
	Kind	kind;		/* what kind of symbol */
18
	char	type;		/* type of the symbol: ie, 'T', 'a', etc. */
19
	char	sym;		/* index of symbol's name */
20
	char	*id;		/* name for the symbol, if it introduces one */
21
	uint	sig;		/* type signature for symbol */
22
};
23
 
24
#define UNKNOWN	'?'
25
void		_offset(int, vlong);