mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-29 07:53:33 +00:00
Remove Darwin'ism
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
49964d6847
commit
99e635ca69
@ -363,10 +363,7 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
|
||||
O << "@GOTOFF";
|
||||
} else if (Subtarget->isPICStyleRIPRel() && !NotRIPRel &&
|
||||
TM.getRelocationModel() != Reloc::Static) {
|
||||
if ((GV->isDeclaration() ||
|
||||
GV->hasWeakLinkage() ||
|
||||
GV->hasLinkOnceLinkage()) &&
|
||||
TM.getRelocationModel() != Reloc::Static)
|
||||
if (Subtarget->GVRequiresExtraLoad(GV, TM, false))
|
||||
O << "@GOTPCREL";
|
||||
|
||||
if (needCloseParen) {
|
||||
|
Loading…
Reference in New Issue
Block a user