aboutsummaryrefslogtreecommitdiff
path: root/gas/emul.h
blob: 97c46d8b2a5e0ee2fa7109714d66ff8597982490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef EMUL_DEFS
#define EMUL_DEFS

struct emulation {
  void (*match) PARAMS ((const char *));
  const char *name;
  void (*init) PARAMS ((void));
  const char *(*bfd_name) PARAMS ((void));
  unsigned local_labels_fb : 1;
  unsigned local_labels_dollar : 1;
  unsigned leading_underscore : 2;
  unsigned strip_underscore : 1;
  unsigned default_endian : 2;
  const char *fake_label_name;
  const struct format_ops *format;
};

COMMON struct emulation *this_emulation;

extern const char *default_emul_bfd_name PARAMS ((void));
extern void common_emul_init PARAMS ((void));

#endif