http://llvm.org/bugs/show_bug.cgi?id=8878

           Summary: [MC] regression: unknown fixup kind in ELF
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


This assembly file:

  .Lfoo:
    leaq AES_Te-.Lfoo(%r14),%r14

is a delta-reduction of openssl's aes-x86_64.S which triggers an unreachable
with llvm-mc:

  $ llvm-mc test.s -filetype=obj /dev/null
  invalid fixup kind!
  UNREACHABLE executed at ELFObjectWriter.cpp:1608!

This does assemble with gas. The .o it produces looks like:

  lea 0x0(%r14),%r14
  R_X86_64_PC32 AES_Te+0x03

through objdump -dr.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to