[LLVMbugs] [Bug 8878] New: [MC] regression: unknown fixup kind in ELF

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 31 14:24:16 PST 2010


           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: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu

This assembly file:

    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.

More information about the llvm-bugs mailing list