[LLVMdev] llvm-mc ELF, macho PEcoff
Jason Kim
jasonwkim at google.com
Wed Dec 15 16:07:00 PST 2010
On Wed, Dec 15, 2010 at 2:36 PM, Marius <wishinet at googlemail.com> wrote:
> Hi!
>
> I think llvm-mc did amazing work and I'm stunned ;). - So I start
> reading source-code and making notes.
> To my question: At which state is the disassembly for PEcoff or ELF?
>
> I read the blog (http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html):
> """
> The MC components have been designed to be object file independent
> (e.g. work for MachO, ELF, PE-COFF etc) but only have an
> implementation for MachO (used on Mac OS/X systems). Adding support
> for ELF and/or PE-COFF should be reasonably straight-forward.
> """
> I don't even see the MachO support. macho-dump only dumps Macho header
> information.It doesn't seem to do much more. I'm on svn 121904. Could
> someone fill me in on how to selectively disassemble something with
For ELF? I'd use binutils/objdump targeted for the arch u are looking at.
> this undocumented tool-chain. I'd like to see support for binary
> contains, but I cannot find proper references about what has already
> been done.
It depends on the architecture. For example, ARM ELF direct .o
emission is coming together but it is incomplete.
ARM .s -> .o still has a lot of warts.
X86 is more mature.
>
> Thanks,
> Marius
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list