[LLVMbugs] [Bug 8944] New: Integrated assembler doesn't resolve local symbol differences

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 9 16:56:31 PST 2011


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

           Summary: Integrated assembler doesn't resolve local symbol
                    differences
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Target Description Classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu


OpenSSL's aes-x86_64.s does something like

        movq T-S, %rax

        .globl T
T:

        .globl S
S:

This results in a R_X86_64_PC32 text relocation, which GNU ld doesn't like.
Runnning the same code through GNU as doesn't result in a relocation, e.g. the
difference is handled internally. Same for using . in place of S.

-- 
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