[ELF] relocateNonAlloc: clean up workaround code
[llvm-project.git] / lld / test / COFF / Inputs / gnu-implib-data.s
blobd9af7756332c8e9fd2e9b86184c5df5b6e12b8e8
1 .global __imp_data
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.
8 .section .idata$7
9 .rva _head_test_lib
11 .section .idata$5
12 __imp_data:
13 .rva .Lhint_name
14 .long 0
16 .section .idata$4
17 .rva .Lhint_name
18 .long 0
20 .section .idata$6
21 .Lhint_name:
22 .short 0
23 .asciz "data"