-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtypes.h
44 lines (31 loc) · 1.08 KB
/
types.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/******************************************************************************
* @file types.h
*****************************************************************************/
#ifndef _TYPE_H
#define _TYPE_H
#include "stdint.h"
typedef struct section *section_t;
typedef signed long subsection_t;
typedef enum {
RELAX_TYPE_NONE_NEEDED = 0,
RELAX_TYPE_ALIGN,
RELAX_TYPE_ALIGN_CODE,
RELAX_TYPE_CALL,
RELAX_TYPE_ORG,
RELAX_TYPE_SPACE,
RELAX_TYPE_MACHINE_DEPENDENT
} relax_type_t;
typedef uint32_t relax_subtype_t;
typedef enum {
RELOC_TYPE_DEFAULT,
RELOC_TYPE_CALL,
RELOC_TYPE_RVA
} reloc_type_t;
typedef unsigned long address_t;
typedef signed long offset_t;
typedef unsigned long value_t;
typedef struct expr *expr_t;
typedef struct fixup *fixup_t;
typedef struct frag *frag_t;
typedef struct symbol *symbol_t;
#endif /* _TYPE_H */