Commit | Line | Data |
---|---|---|
e7757ad0 KR |
1 | #ifndef EMUL_DEFS |
2 | #define EMUL_DEFS | |
3 | ||
4 | struct emulation { | |
5 | void (*match) PARAMS ((const char *)); | |
6 | const char *name; | |
7 | void (*init) (); | |
8 | const char *(*bfd_name) (); | |
9 | unsigned char local_labels_fb : 1; | |
10 | unsigned char local_labels_dollar : 1; | |
11 | unsigned char leading_underscore : 2; | |
12 | unsigned char strip_underscore : 1; | |
13 | unsigned char default_endian : 2; | |
14 | const char *fake_label_name; | |
15 | const struct format_ops *format; | |
16 | }; | |
17 | ||
18 | COMMON struct emulation *this_emulation; | |
19 | ||
20 | extern const char *default_emul_bfd_name (); | |
21 | extern void common_emul_init (); | |
22 | ||
23 | #endif |