gas/
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 1 Nov 2012 22:49:28 +0000 (22:49 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Thu, 1 Nov 2012 22:49:28 +0000 (22:49 +0000)
commite64af278469a4101a3fa515bda4d2d977051b8d4
tree608350a29b6a8a7160c399e0f84c405d012bbbe9
parentc2c9fdb45e95aeed8540383f14cad9a85a186b1b
gas/
* config/tc-mips.c (is_delay_slot_valid): Don't accept macros
in 16-bit delay slots.
(macro_build_jalr): Emit 32-bit JALR if placed in a 32-bit delay
slot.
(macro) <M_JAL_2>: Likewise

gas/testsuite/
* gas/mips/micromips-branch-delay.l: Update messages for 16-bit
delay slot changes.
* gas/mips/micromips-warn-branch-delay.d: New test.
* gas/mips/micromips-warn-branch-delay.l: Stderr output for the
new test.
* gas/mips/micromips-warn-branch-delay-1.d: New test.
* gas/mips/micromips-warn-branch-delay.s: New test source.
* gas/mips/micromips-warn-branch-delay-1.s: New test source.
* gas/mips/mips.exp: Run the new tests.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/micromips-branch-delay.l
gas/testsuite/gas/mips/micromips-warn-branch-delay-1.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips-warn-branch-delay-1.s [new file with mode: 0644]
gas/testsuite/gas/mips/micromips-warn-branch-delay.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips-warn-branch-delay.l [new file with mode: 0644]
gas/testsuite/gas/mips/micromips-warn-branch-delay.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp