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-target.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-target.h')
-rw-r--r-- | gas/emul-target.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gas/emul-target.h b/gas/emul-target.h new file mode 100644 index 0000000..3704050 --- /dev/null +++ b/gas/emul-target.h @@ -0,0 +1,43 @@ +#ifndef emul_init +#define emul_init common_emul_init +#endif + +#ifndef emul_bfd_name +#define emul_bfd_name default_emul_bfd_name +#endif + +#ifndef emul_local_labels_fb +#define emul_local_labels_fb 0 +#endif + +#ifndef emul_local_labels_dollar +#define emul_local_labels_dollar 0 +#endif + +#ifndef emul_leading_underscore +#define emul_leading_underscore 2 +#endif + +#ifndef emul_strip_underscore +#define emul_strip_underscore 0 +#endif + +#ifndef emul_default_endian +#define emul_default_endian 2 +#endif + +#ifndef emul_fake_label_name +#define emul_fake_label_name 0 +#endif + +struct emulation emul_struct_name = { + 0, + emul_name, + emul_init, + emul_bfd_name, + emul_local_labels_fb, emul_local_labels_dollar, + emul_leading_underscore, emul_strip_underscore, + emul_default_endian, + emul_fake_label_name, + emul_format, +}; |