Files
clang-p2996/lld/test/pecoff/Inputs/hello64lib.asm
Rui Ueyama 5711df44b8 [PECOFF] Fix PE+ relocations
The implementation of AMD64 relocations was imcomplete
and wrong. On AMD64, we of course have to use AMD64
relocations instead of i386 ones. This patch fixes the
issue.

LLD is now able to link hello64.obj (created from
hello64.asm) against user32.lib and kernel32.lib to
create a Win64 binary.

llvm-svn: 216253
2014-08-22 01:15:43 +00:00

15 lines
144 B
NASM

.code
ExitProcess PROC
RET
ExitProcess ENDP
MessageBoxA PROC
RET
MessageBoxA ENDP
_DllMainCRTStartup PROC
RET
_DllMainCRTStartup ENDP
END