19990502 sourceware import
[external/binutils.git] / gas / emul.h
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) 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;
16 };
17
18 COMMON struct emulation *this_emulation;
19
20 extern const char *default_emul_bfd_name PARAMS ((void));
21 extern void common_emul_init PARAMS ((void));
22
23 #endif