When in -static mode, force the PIC style to none. Doing this requires fixing
authorChris Lattner <sabre@nondot.org>
Thu, 9 Jul 2009 03:15:51 +0000 (03:15 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Jul 2009 03:15:51 +0000 (03:15 +0000)
commite4df756289b6d80dcfd67b9f97fd464f62fd4902
treeac4e0ffb48d7397ab7a51ba1bdbffe364634e9b8
parentb133a0aff77adf1787afe5d35cf140194c29d386
When in -static mode, force the PIC style to none.  Doing this requires fixing
code which conflated RIPRel PIC with x86-64.  Fix these to just check for X86-64
directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75092 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86Subtarget.h
lib/Target/X86/X86TargetMachine.cpp