This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix uninitialised CRIS insn

> From: Alan Modra <>
> Sender: "" <>

> 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

Running /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mmix/mmix-err.exp ...
FAIL: gas/mmix/err-fb-2.s (test for excess errors)

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.)

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]