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/config/e-mipsecoff.c | |
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/config/e-mipsecoff.c')
-rw-r--r-- | gas/config/e-mipsecoff.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gas/config/e-mipsecoff.c b/gas/config/e-mipsecoff.c new file mode 100644 index 0000000..e766ee1 --- /dev/null +++ b/gas/config/e-mipsecoff.c @@ -0,0 +1,25 @@ +#include "as.h" +#include "emul.h" + +static const char * +mipsecoff_bfd_name () +{ + abort (); +} + +#define emul_bfd_name mipsecoff_bfd_name +#define emul_format &ecoff_format_ops + +#define emul_name "mipsbecoff" +#define emul_struct_name mipsbecoff +#define emul_default_endian 1 +#include "emul-target.h" + +#undef emul_name +#undef emul_struct_name +#undef emul_default_endian + +#define emul_name "mipslecoff" +#define emul_struct_name mipslecoff +#define emul_default_endian 0 +#include "emul-target.h" |