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