1 #name: FRV TLS relocs, dynamic linking
2 #source: tls-1.s
3 #objdump: -DR -j .text -j .got -j .plt
4 #ld: tmpdir/tls-1-dep.so
5 
6 .*:     file format elf.*frv.*
7 
8 Disassembly of section \.text:
9 
10 [0-9a-f ]+<_start>:
11 [0-9a-f ]+:	92 c8 f0 10 	ldi @\(gr15,16\),gr9
12 [0-9a-f ]+:	00 88 00 00 	nop\.p
13 [0-9a-f ]+:	80 88 00 00 	nop
14 [0-9a-f ]+:	92 c8 f0 10 	ldi @\(gr15,16\),gr9
15 [0-9a-f ]+:	80 88 00 00 	nop
16 [0-9a-f ]+:	12 c8 f0 10 	ldi\.p @\(gr15,16\),gr9
17 [0-9a-f ]+:	80 88 00 00 	nop
18 [0-9a-f ]+:	80 88 00 00 	nop
19 [0-9a-f ]+:	92 fc f8 10 	setlos 0xf*fffff810,gr9
20 [0-9a-f ]+:	00 88 00 00 	nop\.p
21 [0-9a-f ]+:	80 88 00 00 	nop
22 [0-9a-f ]+:	92 fc f8 10 	setlos 0xf*fffff810,gr9
23 [0-9a-f ]+:	80 88 00 00 	nop
24 [0-9a-f ]+:	12 fc f8 10 	setlos\.p 0xf*fffff810,gr9
25 [0-9a-f ]+:	80 88 00 00 	nop
26 [0-9a-f ]+:	80 88 00 00 	nop
27 [0-9a-f ]+:	92 fc f8 20 	setlos 0xf*fffff820,gr9
28 [0-9a-f ]+:	00 88 00 00 	nop\.p
29 [0-9a-f ]+:	80 88 00 00 	nop
30 [0-9a-f ]+:	92 fc f8 20 	setlos 0xf*fffff820,gr9
31 [0-9a-f ]+:	80 88 00 00 	nop
32 [0-9a-f ]+:	12 fc f8 20 	setlos\.p 0xf*fffff820,gr9
33 [0-9a-f ]+:	80 88 00 00 	nop
34 [0-9a-f ]+:	80 88 00 00 	nop
35 [0-9a-f ]+:	92 fc 00 00 	setlos lo\(0x0\),gr9
36 [0-9a-f ]+:	00 88 00 00 	nop\.p
37 [0-9a-f ]+:	80 88 00 00 	nop
38 [0-9a-f ]+:	92 fc 00 00 	setlos lo\(0x0\),gr9
39 [0-9a-f ]+:	80 88 00 00 	nop
40 [0-9a-f ]+:	12 fc 00 00 	setlos\.p lo\(0x0\),gr9
41 [0-9a-f ]+:	80 88 00 00 	nop
42 [0-9a-f ]+:	80 88 00 00 	nop
43 [0-9a-f ]+:	00 88 00 00 	nop\.p
44 [0-9a-f ]+:	90 fc f8 20 	setlos 0xf*fffff820,gr8
45 [0-9a-f ]+:	00 88 00 00 	nop\.p
46 [0-9a-f ]+:	92 fc f8 10 	setlos 0xf*fffff810,gr9
47 [0-9a-f ]+:	92 c8 f0 10 	ldi @\(gr15,16\),gr9
48 [0-9a-f ]+:	92 fc f8 10 	setlos 0xf*fffff810,gr9
49 [0-9a-f ]+:	92 fc f8 20 	setlos 0xf*fffff820,gr9
50 [0-9a-f ]+:	92 fc 00 00 	setlos lo\(0x0\),gr9
51 [0-9a-f ]+:	00 88 00 00 	nop\.p
52 [0-9a-f ]+:	80 88 00 00 	nop
53 [0-9a-f ]+:	92 c8 f0 10 	ldi @\(gr15,16\),gr9
54 [0-9a-f ]+:	00 88 00 00 	nop\.p
55 [0-9a-f ]+:	80 88 00 00 	nop
56 [0-9a-f ]+:	92 fc f8 10 	setlos 0xf*fffff810,gr9
57 [0-9a-f ]+:	00 88 00 00 	nop\.p
58 [0-9a-f ]+:	80 88 00 00 	nop
59 [0-9a-f ]+:	92 fc f8 20 	setlos 0xf*fffff820,gr9
60 [0-9a-f ]+:	00 88 00 00 	nop\.p
61 [0-9a-f ]+:	80 88 00 00 	nop
62 [0-9a-f ]+:	92 fc 00 00 	setlos lo\(0x0\),gr9
63 Disassembly of section \.got:
64 
65 [0-9a-f ]+<(__data_start|_GLOBAL_OFFSET_TABLE_)>:
66 	\.\.\.
67 [0-9a-f ]+:	ff ff f8 20 	cop2 -32,cpr63,cpr32,cpr63
68 [0-9a-f ]+:	00 00 00 00 	add\.p gr0,gr0,gr0
69 [0-9a-f	 ]+: R_FRV_TLSOFF	x
70 [0-9a-f ]+:	ff ff f8 10 	cop2 -32,cpr63,cpr16,cpr63
71 [0-9a-f ]+:	00 00 00 00 	add\.p gr0,gr0,gr0
72