[LLVMbugs] [Bug 1105] NEW: Provide options in LTO to build a PIC object file for linking into a shared library.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 10 13:32:25 PST 2007


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

           Summary: Provide options in LTO to build a PIC object file for
                    linking into a shared library.
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: lto
        AssignedTo: chandlerc at gmail.com
        ReportedBy: chandlerc at gmail.com


One of the desirable things for a linker integrated with LLVM's LTO library to
provide is linking of shared libraries from bytecode. This requires (on some
platforms/OSes) building PIC in the object file with a special flag in the
assembly step of the LTO. Once PIC can be requested from the LTO library, GNU ld
(for example) should be able to check when it is generating a shared library,
and pass along the correct options.



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