diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-05-10 23:08:40 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-05-10 23:08:40 +0000 |
commit | e7757ad0bc0d57143b4b313c56ce42abe63560cd (patch) | |
tree | 647c9947e4749bf15d53bc0c5b81fb75efdb9079 /gas/emul.h | |
parent | 5c36767ef41ecf7aa5e174a8449112f46a87a7a0 (diff) | |
download | gdb-e7757ad0bc0d57143b4b313c56ce42abe63560cd.zip gdb-e7757ad0bc0d57143b4b313c56ce42abe63560cd.tar.gz gdb-e7757ad0bc0d57143b4b313c56ce42abe63560cd.tar.bz2 |
First cut at handling multiple emulation modes for some MIPS targets.
Mostly works, not entirely.
Details in ChangeLog.
Diffstat (limited to 'gas/emul.h')
-rw-r--r-- | gas/emul.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gas/emul.h b/gas/emul.h new file mode 100644 index 0000000..c3e2469 --- /dev/null +++ b/gas/emul.h @@ -0,0 +1,23 @@ +#ifndef EMUL_DEFS +#define EMUL_DEFS + +struct emulation { + void (*match) PARAMS ((const char *)); + const char *name; + void (*init) (); + const char *(*bfd_name) (); + unsigned char local_labels_fb : 1; + unsigned char local_labels_dollar : 1; + unsigned char leading_underscore : 2; + unsigned char strip_underscore : 1; + unsigned char 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 (); +extern void common_emul_init (); + +#endif |