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

            Bug ID: 17169
           Summary: Using large code model causes: error: relocation
                    R_PPC64_TOC16_LO_DS not a multiple of 4
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 11172
  --> http://llvm.org/bugs/attachment.cgi?id=11172&action=edit
bugpoint reduced test case

If you try to compile the attached test case using the large code model,
linking fails with:
error: relocation R_PPC64_TOC16_LO_DS not a multiple of 4

clang -mcmodel=large -shared -o /tmp/t.so bugpoint-reduced-simplified.ll

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