diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-07-07 17:23:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-07-07 17:23:39 +0000 |
commit | 918692a5cc5fa2dab2fa9018c4db22af7a79b99f (patch) | |
tree | f9460661fc3a750c4c2aa3f42e4f0345cedb8167 /gas/config/tc-mips.h | |
parent | 76c64db09fb49969a69440d82ca21a10b7971019 (diff) | |
download | gdb-918692a5cc5fa2dab2fa9018c4db22af7a79b99f.zip gdb-918692a5cc5fa2dab2fa9018c4db22af7a79b99f.tar.gz gdb-918692a5cc5fa2dab2fa9018c4db22af7a79b99f.tar.bz2 |
* config/mips-opcode.h: Moved to opcode/mips.h.
* config/tc-mips.c: Include opcode/mips.h rather than
mips-opcode.h.
(append_insn): An extra NOP is only needed after instructions
which set HI or LO, not after instructions which read it.
(macro_build, mips_ip): Support new 'E', 'G' and 'B' arguments.
(macro): cfc1 and ctc1 now take "t,G" rather than "t,d".
* config/tc-mips.h (struct mips_opcode): Don't define.
* config/mips-big.mt, config/mips-lit.mt (TARG_CPU_DEPENDENTS):
Set to $(srcdir)/../include/opcode/mips.h.
Get the MIPS assembler up to speed with other gas changes:
* config/obj-ecoff.c (ecoff_set_vma, ecoff_frob_symbol):
Removed; don't change the symbol value.
(ecoff_build_symbols, ecoff_build_procs, ecoff_frob_file): Use
bfd_asymbol_value rather than S_GET_VALUE to include section
vma in symbol value.
(ecoff_frob_file): Ignore BSF_SECTION_SYM symbols, since ECOFF
doesn't output them. Set the vma of sections.
* config/obj-ecoff.h: Don't define obj_frob_symbol.
* config/tc-mips.c (tc_gen_reloc): Adjustment by section vma is no
longer necessary.
(various): use valueT rather than long.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r-- | gas/config/tc-mips.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index b0fb9f7..c4f7563 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -24,16 +24,14 @@ #define TARGET_ARCH bfd_arch_mips -#define NO_LISTING #define ONLY_STANDARD_ESCAPES #define BACKSLASH_V #define WORKING_DOT_WORD 1 #define OLD_FLOAT_READS +#define REPEAT_CONS_EXPRESSIONS #define LOCAL_LABELS_FB -#ifdef OBJ_ECOFF -#define LOCAL_LABEL(name) ((name)[0] == '$' && (name)[1] == 'L') -#endif +#define LOCAL_LABEL(name) ((name)[0] == '$') #define md_undefined_symbol(name) (0) #define md_operand(x) @@ -72,14 +70,6 @@ #endif /* OBJ_ECOFF */ #endif /* ! defined (TARGET_FORMAT) */ -struct mips_opcode { - const char *name; - const char *args; - unsigned long match; - unsigned long mask; /* used only for error checking */ - unsigned long pinfo; /* Information used for insn/pipeline scheduling. */ -}; - struct mips_cl_insn { unsigned long insn_opcode; const struct mips_opcode *insn_mo; |