void
md_begin ()
{
+ boolean ok;
register const char *retval = NULL;
register unsigned int i = 0;
mips_isa = 1;
}
+ switch (mips_isa)
+ {
+ case 1:
+ ok = bfd_set_arch_mach (stdoutput, bfd_arch_mips, 3000);
+ break;
+ case 2:
+ ok = bfd_set_arch_mach (stdoutput, bfd_arch_mips, 6000);
+ break;
+ case 3:
+ ok = bfd_set_arch_mach (stdoutput, bfd_arch_mips, 4000);
+ break;
+ }
+ if (! ok)
+ as_warn ("Could not set architecture and machine");
+
if ((op_hash = hash_new ()) == NULL)
{
as_fatal ("Virtual memory exhausted");
& (INSN_UNCOND_BRANCH_DELAY
| INSN_COND_BRANCH_DELAY
| INSN_COND_BRANCH_LIKELY))
+ /* We can not swap with a trap instruction, since it
+ might change the PC. */
+ || (prev_insn.insn_mo->pinfo & INSN_TRAP)
/* If the branch reads a register that the previous
instruction sets, we can not swap. */
|| ((prev_insn.insn_mo->pinfo & INSN_WRITE_GPR_T)