parent
74b2ab59fd
commit
db33a0211b
|
@ -170,8 +170,7 @@ bool X86TargetMachine::addAssemblyEmitter(FunctionPassManager &PM, bool Fast,
|
|||
bool X86TargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
|
||||
bool DumpAsm, MachineCodeEmitter &MCE) {
|
||||
// FIXME: Move this to TargetJITInfo!
|
||||
if (getRelocationModel() == Reloc::Default)
|
||||
setRelocationModel(Reloc::Static);
|
||||
setRelocationModel(Reloc::Static);
|
||||
Subtarget.setPICStyle(PICStyle::None);
|
||||
|
||||
// JIT cannot ensure globals are placed in the lower 4G of address.
|
||||
|
|
Loading…
Reference in New Issue