#name: FRV uClinux PIC relocs to global symbols, pie linking
#source: fdpic2.s
#objdump: -DR -j .text -j .data -j .got -j .plt
-#ld: -pie
+#ld: -pie --hash-style=sysv
.*: file format elf.*frv.*
[0-9a-f ]+: R_FRV_32 \.text
Disassembly of section \.got:
-[0-9a-f ]+<_GLOBAL_OFFSET_TABLE_-0x18>:
+[0-9a-f ]+<.got>:
[0-9a-f ]+: 00 00 00 04 add\.p gr0,gr4,gr0
[0-9a-f ]+: R_FRV_FUNCDESC_VALUE \.text
[0-9a-f ]+: 00 00 00 02 add\.p gr0,fp,gr0