xref: /llvm-project/lld/test/COFF/Inputs/gnu-implib-data.s (revision 2bfa125fd653878324cc3b447d84ec1c2e3fe93d)
1        .global         __imp_data
2
3        # The data that is emitted into .idata$7 here is isn't needed for
4        # the import data structures, but we need to emit something which
5        # produces a relocation against _head_test_lib, to pull in the
6        # header and trailer objects.
7
8        .section        .idata$7
9        .rva            _head_test_lib
10
11        .section        .idata$5
12__imp_data:
13        .rva            .Lhint_name
14        .long           0
15
16        .section        .idata$4
17        .rva            .Lhint_name
18        .long           0
19
20        .section        .idata$6
21.Lhint_name:
22        .short          0
23        .asciz          "data"
24