[PATCH] Add support for small-model PIC for PowerPC.

Justin Hibbits jrh29 at alumni.cwru.edu
Fri Oct 24 20:38:12 PDT 2014


Update the patch to only switch on 'PICLevel::Small', so that the default PIC level is large-model.  This way, if no PIC level is specified in the module flags it will always default to Large-model, rather than the current undefined.

http://reviews.llvm.org/D5399

Files:
  include/llvm/MC/MCExpr.h
  include/llvm/Support/ELF.h
  lib/MC/MCExpr.cpp
  lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
  lib/Target/PowerPC/PPCAsmPrinter.cpp
  lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrInfo.td
  test/CodeGen/PowerPC/ppc32-pic-large.ll
  test/CodeGen/PowerPC/ppc32-pic.ll
  test/CodeGen/PowerPC/sections.ll
  test/CodeGen/PowerPC/tls-pic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5399.15449.patch
Type: text/x-patch
Size: 21402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141025/cfa40df6/attachment.bin>


More information about the llvm-commits mailing list