summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/v32-ba-1.d
blob: 7f716e87b3d85bf36e4578cf2afc241a40f11215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# as: --march=v32 --em=criself
# ld: -m criself
# objdump: -d

# Check that 32-bit branches (PCREL:s) are relocated right.

.*:     file format elf32-us-cris

Disassembly of section \.text:

0+ <a>:
   0:	bf0e 0800 0000      	ba 8 <b>
   6:	5e82                	moveq 30,r8

0+8 <b>:
   8:	4312                	moveq 3,r1
   a:	bf0e f6ff ffff      	ba 0 <(a|___init__start)>
  10:	4db2                	moveq 13,r11