1 #name: Generation of dynamic relocs for STT_IFUNC symbols
3 #ld: --defsym _start=0 --defsym puts=0 --defsym rand=0 --defsym printf=0
4 #readelf: --relocs --syms
6 Relocation section '.rela.ifunc.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
7 +Offset +Info +Type +Sym. Value +Sym. Name \+ Addend
8 [0-9a-f]+ 0+20+2 R_X86_64_PC32 .*
9 [0-9a-f]+ 0+10+2 R_X86_64_PC32 .*
11 ..: [0-9a-f]+ .. IFUNC GLOBAL DEFAULT .. long_func_name
13 ..: [0-9a-f]+ .. IFUNC GLOBAL DEFAULT .. func