This adds PIC-level (small/large) support to LLVM, and implements the
appropriate levels for PowerPC. The PIC Level argument added to
LLVMTargetMachine is ignored by most architectures, but understood by PowerPC
currently (can be added to SPARC, too). The necessary Clang change is in a
separate commit.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Remove vestiges of secure-PLT (pointed out by Joerg Sonnenberger), which belongs in a separate commit.
Comment Actions
Any reason for introducing the "default" level and not just go with large? I think that what's almost all software is using anyway.
Comment Actions
I modeled it after the -relocation-model option. By allowing architecture defaults, the default for any given architecture can change without modifying any other arch.
Comment to match.