+2011-11-14 Maciej W. Rozycki <macro@codesourcery.com>
+
+ Apply mainline patches
+ 2011-11-14 Maciej W. Rozycki <macro@codesourcery.com>
+ * config/tc-mips.c (can_swap_branch_p): Exclude microMIPS
+ variant frags too.
+
2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Apply mainline patches
/* If the previous instruction is in a variant frag other than this
branch's one, we cannot do the swap. This does not apply to
- MIPS16/microMIPS code, which uses variant frags for different
- purposes. */
- if (!HAVE_CODE_COMPRESSION
+ MIPS16 code, which uses variant frags for different purposes. */
+ if (!mips_opts.mips16
&& history[0].frag
&& history[0].frag->fr_type == rs_machine_dependent)
return FALSE;
+2011-11-14 Maciej W. Rozycki <macro@codesourcery.com>
+
+ Apply mainline patches
+ 2011-11-14 Maciej W. Rozycki <macro@codesourcery.com>
+ * gas/mips/relax-swap3.d: New test.
+ * gas/mips/mips16@relax-swap3.d: Likewise.
+ * gas/mips/micromips@relax-swap3.d: Likewise.
+ * gas/mips/relax-swap3.s: New test source.
+ * gas/mips/mips.exp: Run the new tests.
+
2011-10-25 Alan Modra <amodra@gmail.com>
Apply mainline patches
run_dump_test "relax-swap1-mips1"
run_dump_test "relax-swap1-mips2"
run_dump_test "relax-swap2"
+ run_dump_test_arches "relax-swap3" [mips_arch_list_all]
run_list_test_arches "relax-bposge" "-mdsp -relax-branch" \
[mips_arch_list_matching mips64r2 \
!micromips]