[llvm-dev] lld-link with MSVC6 object files

Paul Moran via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 27 17:23:20 PDT 2019


Hi,

I have a question about lld-link. What obj file formats should it support?
When I try to use an obj from msvc 6.0 it complains that the file magic is
not valid.

However when running  llvm-objdump it reports:

test1.obj:      file format COFF-i386

Disassembly of section .text:
0000000000000000 _main:
       0:       68 00 00 00 00  pushl   $0
       5:       e8 00 00 00 00  calll   0 <_main+0xa>
       a:       83 c4 04        addl    $4, %esp
       d:       33 c0   xorl    %eax, %eax

      f:       c3      retl

Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190928/0cdd87a2/attachment.html>


More information about the llvm-dev mailing list