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