Skip to content

Provide options in LTO to build a PIC object file for linking into a shared library. #1477

@chandlerc

Description

@chandlerc
Bugzilla Link 1105
Resolution FIXED
Resolved on Feb 08, 2009 14:17
Version trunk
OS Linux
CC @lattner,@nlewycky

Extended Description

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.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tag

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions