[LLVMbugs] [Bug 1067] NEW: PIC codegen for Linux/X86

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Dec 24 04:02:38 PST 2006


           Summary: PIC codegen for Linux/X86
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru

We really should support PIC codegen for Linux. Probably, we need to add
additional entry to TargetData to distinguish pic & non-pic codegen (propagating
-fPIC flag from llvm-gcc).

It seems, that X86/Darwin codegen is already PIC (everything there is PIC), so,
this code should be inspected. Also, ELF-specific codegen (GOT, PLT) should be

This will allow us to build rather complex applications, e.g. mozilla/seamonkey.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list