* Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
[binutils.git] / gas / emul.h
blob97c46d8b2a5e0ee2fa7109714d66ff8597982490
1 #ifndef EMUL_DEFS
2 #define EMUL_DEFS
4 struct emulation {
5 void (*match) PARAMS ((const char *));
6 const char *name;
7 void (*init) PARAMS ((void));
8 const char *(*bfd_name) PARAMS ((void));
9 unsigned local_labels_fb : 1;
10 unsigned local_labels_dollar : 1;
11 unsigned leading_underscore : 2;
12 unsigned strip_underscore : 1;
13 unsigned default_endian : 2;
14 const char *fake_label_name;
15 const struct format_ops *format;
18 COMMON struct emulation *this_emulation;
20 extern const char *default_emul_bfd_name PARAMS ((void));
21 extern void common_emul_init PARAMS ((void));
23 #endif