aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/micromips-branch-absolute.d
blob: ad44f5ab16d1935dcfabaf6a25c236481c6824d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#objdump: -dr --prefix-addresses --show-raw-insn
#name: microMIPS link branch to absolute expression
#source: ../../../gas/testsuite/gas/mips/micromips-branch-absolute.s
#as: -EB -32
#ld: -EB -Ttext 0 -e foo

.*: +file format .*mips.*

Disassembly of section \.text:
	\.\.\.
[0-9a-f]+ <[^>]*> 40e0 0118 	bc	0+001234 <foo\+0x234>
[0-9a-f]+ <[^>]*> 4060 0116 	bal	0+001234 <foo\+0x234>
[0-9a-f]+ <[^>]*> 0000 0000 	nop
[0-9a-f]+ <[^>]*> 4020 0112 	bltzal	zero,0+001234 <foo\+0x234>
[0-9a-f]+ <[^>]*> 0000 0000 	nop
[0-9a-f]+ <[^>]*> 40e2 010e 	beqzc	v0,0+001234 <foo\+0x234>
[0-9a-f]+ <[^>]*> 40a2 010c 	bnezc	v0,0+001234 <foo\+0x234>
[0-9a-f]+ <[^>]*> 0c00      	nop
	\.\.\.