190792Sgshapiro#name: FRV uClinux PIC relocs to global symbols, pie linking
290792Sgshapiro#source: fdpic2.s
390792Sgshapiro#objdump: -DR -j .text -j .data -j .got -j .plt
490792Sgshapiro#ld: -pie
590792Sgshapiro
690792Sgshapiro.*:     file format elf.*frv.*
790792Sgshapiro
890792SgshapiroDisassembly of section \.text:
990792Sgshapiro
1090792Sgshapiro[0-9a-f ]+<F2>:
1190792Sgshapiro[0-9a-f ]+:	80 3c 00 01 	call [0-9a-f]+ <GF0>
1290792Sgshapiro
1390792Sgshapiro[0-9a-f ]+<GF0>:
1490792Sgshapiro[0-9a-f ]+:	80 40 f0 10 	addi gr15,16,gr0
1590792Sgshapiro[0-9a-f ]+:	80 fc 00 24 	setlos 0x24,gr0
1690792Sgshapiro[0-9a-f ]+:	80 f4 00 20 	setlo 0x20,gr0
1790792Sgshapiro[0-9a-f ]+:	80 f8 00 00 	sethi hi\(0x0\),gr0
1890792Sgshapiro[0-9a-f ]+:	80 40 f0 0c 	addi gr15,12,gr0
1990792Sgshapiro[0-9a-f ]+:	80 fc 00 18 	setlos 0x18,gr0
2090792Sgshapiro[0-9a-f ]+:	80 f4 00 14 	setlo 0x14,gr0
2190792Sgshapiro[0-9a-f ]+:	80 f8 00 00 	sethi hi\(0x0\),gr0
2290792Sgshapiro[0-9a-f ]+:	80 40 ff f8 	addi gr15,-8,gr0
2390792Sgshapiro[0-9a-f ]+:	80 fc ff f0 	setlos 0xf+ff0,gr0
2490792Sgshapiro[0-9a-f ]+:	80 f4 ff e8 	setlo 0xffe8,gr0
2590792Sgshapiro[0-9a-f ]+:	80 f8 ff ff 	sethi 0xffff,gr0
2690792Sgshapiro[0-9a-f ]+:	80 40 ff dc 	addi gr15,-36,gr0
2790792Sgshapiro[0-9a-f ]+:	80 fc ff dc 	setlos 0xf+fdc,gr0
2890792Sgshapiro[0-9a-f ]+:	80 f4 ff dc 	setlo 0xffdc,gr0
2990792Sgshapiro[0-9a-f ]+:	80 f8 ff ff 	sethi 0xffff,gr0
3090792Sgshapiro[0-9a-f ]+:	80 f4 00 1c 	setlo 0x1c,gr0
3190792Sgshapiro[0-9a-f ]+:	80 f8 00 00 	sethi hi\(0x0\),gr0
3290792SgshapiroDisassembly of section \.dat[0-9a-f ]+:
3390792Sgshapiro
3490792Sgshapiro[0-9a-f ]+<D2>:
3590792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
3690792Sgshapiro[0-9a-f	 ]+: R_FRV_32	\.data
3790792Sgshapiro
3890792Sgshapiro[0-9a-f ]+<GD0>:
3990792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
4090792Sgshapiro[0-9a-f	 ]+: R_FRV_FUNCDESC	\.text
4190792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
4290792Sgshapiro[0-9a-f	 ]+: R_FRV_32	\.text
4390792SgshapiroDisassembly of section \.got:
4490792Sgshapiro
4590792Sgshapiro[0-9a-f ]+<_GLOBAL_OFFSET_TABLE_-0x18>:
4690792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
4790792Sgshapiro[0-9a-f	 ]+: R_FRV_FUNCDESC_VALUE	\.text
4890792Sgshapiro[0-9a-f ]+:	00 00 00 02 	add\.p gr0,fp,gr0
4990792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
5090792Sgshapiro[0-9a-f	 ]+: R_FRV_FUNCDESC_VALUE	\.text
5190792Sgshapiro[0-9a-f ]+:	00 00 00 02 	add\.p gr0,fp,gr0
5290792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
5390792Sgshapiro[0-9a-f	 ]+: R_FRV_FUNCDESC_VALUE	\.text
5490792Sgshapiro[0-9a-f ]+:	00 00 00 02 	add\.p gr0,fp,gr0
5590792Sgshapiro
5690792Sgshapiro[0-9a-f ]+<_GLOBAL_OFFSET_TABLE_>:
5790792Sgshapiro	\.\.\.
5890792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
5990792Sgshapiro[0-9a-f	 ]+: R_FRV_FUNCDESC	\.text
6090792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
6190792Sgshapiro[0-9a-f	 ]+: R_FRV_32	\.text
6290792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
6390792Sgshapiro[0-9a-f	 ]+: R_FRV_FUNCDESC	\.text
6490792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
6590792Sgshapiro[0-9a-f	 ]+: R_FRV_FUNCDESC	\.text
6690792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
6790792Sgshapiro[0-9a-f	 ]+: R_FRV_32	\.data
6890792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
6990792Sgshapiro[0-9a-f	 ]+: R_FRV_32	\.text
7090792Sgshapiro[0-9a-f ]+:	00 00 00 04 	add\.p gr0,gr4,gr0
7190792Sgshapiro[0-9a-f	 ]+: R_FRV_32	\.text
7290792Sgshapiro