This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Fix RX GAS testsuite failures
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 31 Jan 2011 16:43:39 +0000
- Subject: PATCH: Fix RX GAS testsuite failures
Hi Guys,
I am applying the attached patch to fix up the GAS testsuite failures
for the RX port. Most of the problems are connected with the RX
target's unusual choice of default section names, but there was also a
problem with the .p2align directives inserting NOPs and the
auto-generated RX instruction tests generating illegal instructions.
Cheers
Nick
gas/ChangeLog
2011-01-31 Nick Clifton <nickc@redhat.com>
* write.c (write_contents): Include output file name and bfd error
value when reporting the inability to write to the output file.
* config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
frag that has a non-zero fill value.
gas/testsuite/ChangeLog
2011-01-31 Nick Clifton <nickc@redhat.com>
* gas/all/align.d: Skip for the RX.
* gas/elf/group1a.d: Likewise.
* gas/elf/groupautoa.d: Likewise.
* gas/elf/elf.exp: Do not run section5 test for the RX port.
* gas/elf/section4.d: Likewise.
* gas/elf/section7.d: Likewise.
* gas/macros/semi.s: Fill with a non-zero pattern.
* gas/macros/semi.d: Expect non-zero fill value.
* gas/rx/bcnd.d: Update expected disassembly.
* gas/rx/bra.d: Likewise.
* gas/rx/macros.inc: Add reg1 macro.
* gas/rx/max.sm: Use reg1 macro to avoid generating illegal NOP
instruction.
* gas/rx/mov.sm: Likewise.
* gas/rx/max.d: Update expected disassembly.
* gas/rx/mov.d: Likewise.
* gas/rx/rx-asm-good.s: Use Renesas section names.
* gas/rx/rx-asm-good.d: Update expected disassembly.