Files
clang-p2996/lld/test/COFF/Inputs/gnu-implib-data.s
Martin Storsjo 2bfa125fd6 [COFF] Allow automatic dllimport from gnu import libraries
Don't assume that the IAT chunk will be a DefinedImportData, it can
just as well be a DefinedRegular for gnu import libraries.

Differential Revision: https://reviews.llvm.org/D52381

llvm-svn: 343069
2018-09-26 06:13:39 +00:00

24 lines
674 B
ArmAsm

.global __imp_data
# 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_data:
.rva .Lhint_name
.long 0
.section .idata$4
.rva .Lhint_name
.long 0
.section .idata$6
.Lhint_name:
.short 0
.asciz "data"