aboutsummaryrefslogtreecommitdiff
path: root/gas/emul.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-05-10 23:08:40 +0000
committerKen Raeburn <raeburn@cygnus>1995-05-10 23:08:40 +0000
commite7757ad0bc0d57143b4b313c56ce42abe63560cd (patch)
tree647c9947e4749bf15d53bc0c5b81fb75efdb9079 /gas/emul.h
parent5c36767ef41ecf7aa5e174a8449112f46a87a7a0 (diff)
downloadfsf-binutils-gdb-e7757ad0bc0d57143b4b313c56ce42abe63560cd.zip
fsf-binutils-gdb-e7757ad0bc0d57143b4b313c56ce42abe63560cd.tar.gz
fsf-binutils-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.h23
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