1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| .text
.global func
.global __imp_func
func:
jmp *__imp_func
# The data that is emitted into .idata$7 here is isn't needed for
# the import data structures, but we need to emit something which
# produces a relocation against _head_test_lib, to pull in the
# header and trailer objects.
.section .idata$7
.rva _head_test_lib
.section .idata$5
__imp_func:
.rva .Lhint_name
.long 0
.section .idata$4
.rva .Lhint_name
.long 0
.section .idata$6
.Lhint_name:
.short 0
.asciz "func"
|