Commit | Line | Data |
---|---|---|
137627db | 1 | #name: Generation of dynamic relocs for STT_IFUNC symbols |
e7c33416 NC |
2 | #source: ifunc.s |
3 | #as: --32 | |
4 | #ld: -melf_i386 -lc --defsym _start=0 -L/usr/lib | |
5 | #readelf: --relocs --syms | |
6 | ||
7 | Relocation section '.rel.ifunc.dyn' at offset 0x[0-9a-f]+ contains 2 entries: | |
137627db NC |
8 | +Offset +Info +Type +Sym.Value +Sym. Name |
9 | [0-9a-f]+ 0+0202 R_386_PC32 func\(\) func | |
10 | [0-9a-f]+ 0+0102 R_386_PC32 long_fun\(\) long_func_name | |
e7c33416 | 11 | #... |
137627db NC |
12 | ..: [0-9a-f]+ .. IFUNC GLOBAL DEFAULT .. long_func_name |
13 | ..: [0-9a-f]+ .. IFUNC GLOBAL DEFAULT .. func | |
e7c33416 | 14 | #pass |