old-cross-binutils/gas/testsuite/gas/sparc/v9branch1.d
Jakub Jelinek c699f08779 gas/
2007-05-29  David S. Miller  <davem@davemloft.net>
	    Jakub Jelinek  <jakub@redhat.com>

	PR gas/4558
	* config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
	for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.

gas/testsuite/
2007-05-29  Jakub Jelinek  <jakub@redhat.com>

	PR gas/4558
	* gas/sparc/sparc.exp: Add v9branch{1,2,3,4,5} tests.
	* gas/sparc/v9branch1.d: New test.
	* gas/sparc/v9branch1.s: New.
	* gas/sparc/v9branch2.d: New test.
	* gas/sparc/v9branch2.s: New.
	* gas/sparc/v9branch3.d: New test.
	* gas/sparc/v9branch3.s: New.
	* gas/sparc/v9branch4.d: New test.
	* gas/sparc/v9branch4.s: New.
	* gas/sparc/v9branch5.d: New test.
	* gas/sparc/v9branch5.s: New.
2007-05-29 13:18:59 +00:00

23 lines
397 B
Makefile

#as: -Av9
#objdump: -dr --prefix-addresses
#name: v9branch1
.*: +file format .*sparc.*
Disassembly of section .text:
0x0+000000 brz %o0, 0x0+01fffc
0x0+000004 nop
...
0x0+01fff8 nop
0x0+01fffc nop
...
0x0+03fffc brz %o0, 0x0+01fffc
0x0+040000 nop
0x0+040004 bne %icc, 0x0+140000
0x0+040008 nop
...
0x0+13fffc nop
0x0+140000 nop
...
0x0+240000 bne %icc, 0x0+140000
0x0+240004 nop