merge from gcc
[external/binutils.git] / gas / testsuite / gas / xtensa / short_branch_offset.d
1 # as: --no-target-align
2 # objdump: -d
3
4 # Test that a short branch with a target just barely out of range does
5 # not crash the assembler.
6
7 .*: +file format elf32-xtensa-.*
8
9 Disassembly of section .text:
10
11 00000000 <.text>:
12    0:   .*              bnez    a2, 0x45
13    3:   .*              nop
14    6:   .*              nop
15    9:   .*              nop
16    c:   .*              nop
17    f:   .*              nop
18   12:   .*              nop
19   15:   .*              nop
20   18:   .*              nop
21   1b:   .*              nop
22   1e:   .*              nop
23   21:   .*              nop
24   24:   .*              nop
25   27:   .*              nop
26   2a:   .*              nop
27   2d:   .*              nop
28   30:   .*              nop
29   33:   .*              nop
30   36:   .*              nop
31   39:   .*              nop
32   3c:   .*              nop
33   3f:   .*              nop
34   42:   .*              nop