This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix uninitialised CRIS insn
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: amodra at gmail dot com
- Cc: binutils at sourceware dot org
- Date: Mon, 16 Jun 2014 07:11:54 +0200
- Subject: Re: Fix uninitialised CRIS insn
- Authentication-results: sourceware.org; auth=none
> From: Alan Modra <amodra@gmail.com>
> Sender: "binutils-owner@sourceware.org" <binutils-owner@sourceware.org>
> Fixes "FAIL: gas/cris/rd-bkw4v32" with MALLOC_PERTURB_=1
>
> gas/
> * config/tc-cris.c (md_create_long_jump): Follow "short" jump
> with a nop rather than leaving uninitialised.
> gas/testsuite/
> * gas/cris/rd-bkw4v32.d: Update.
Thanks, though there are more. For cris-elf, cris-linux and
mmix-knuth-mmixware, your changes has caused spurious extra
error messages. (Please don't adjust the expected error
messsages to match; the bug is that the extra lines are
emitted.)
MMIX:
Running /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mmix/mmix-err.exp ...
FAIL: gas/mmix/err-fb-2.s (test for excess errors)
i.e.
err-fb-2.s: Assembler messages:
err-fb-2.s:19: Error: LOC to section unknown or indeterminable at first pass
err-fb-2.s:10: Error: LOC to section unknown or indeterminable at first pass
err-fb-2.s:19: Error: attempt to move .org backwards
(The last line is spurious; the first two expected.)
CRIS:
Running /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/cris/cris.exp ...
FAIL: gas/cris/range-err-1.s (test for excess errors)
FAIL: gas/cris/v32-err-10.s (test for excess errors)
For v32-err-10.s, there are now two lines where there was one:
v32-err-10.s:17: Error: Immediate value not in 16 bit signed range: -32769
v32-err-10.s:17: Error: Value not in 16 bit range: -32769
Similarly range-err-1.s but many more.
brgds, H-P