Files
clang-p2996/lld/test/pecoff/Inputs/grouped-sections.asm
Rui Ueyama c8a53795ab [PECOFF] Support linking against DLL.
This patch adds a new pass, IdataPass, to transform shared atom references
to real references and to construct the .idata section data. With this patch
lld can produce a working Hello World program by linking it against
kernel32.dll and user32.dll.

Reviewers: Bigcheese

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1096

llvm-svn: 186071
2013-07-11 08:46:21 +00:00

19 lines
194 B
NASM

.386
.model flat, c
_data$2 SEGMENT BYTE alias(".data$2")
db "orld", 0
_data$2 ends
_data$1 SEGMENT BYTE alias(".data$1")
db "o, w"
_data$1 ends
.data
db "Hell"
.code
main:
nop
end main