1 #as: -32
2 #objdump: -dr --prefix-addresses
3 #name: LA with relocation operators
4 
5 .*file format.*
6 
7 Disassembly of section \.text:
8 [0-9a-f]+ <[^>]*> li	a0,0
9 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
10 [0-9a-f]+ <[^>]*> li	a0,0
11 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
12 [0-9a-f]+ <[^>]*> li	a0,-30875
13 [0-9a-f]+ <[^>]*> li	a0,4661
14 [0-9a-f]+ <[^>]*> addiu	a0,a1,0
15 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
16 [0-9a-f]+ <[^>]*> addiu	a0,a1,0
17 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
18 [0-9a-f]+ <[^>]*> addiu	a0,a1,-30875
19 [0-9a-f]+ <[^>]*> addiu	a0,a1,4661
20 [0-9a-f]+ <[^>]*> addiu	a0,a1,-30875
21 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
22 [0-9a-f]+ <[^>]*> addiu	a0,a1,4661
23 [ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
24 #pass
25