mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 09:18:30 +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";
|
O << "@GOTOFF";
|
||||||
} else if (Subtarget->isPICStyleRIPRel() && !NotRIPRel &&
|
} else if (Subtarget->isPICStyleRIPRel() && !NotRIPRel &&
|
||||||
TM.getRelocationModel() != Reloc::Static) {
|
TM.getRelocationModel() != Reloc::Static) {
|
||||||
if ((GV->isDeclaration() ||
|
if (Subtarget->GVRequiresExtraLoad(GV, TM, false))
|
||||||
GV->hasWeakLinkage() ||
|
|
||||||
GV->hasLinkOnceLinkage()) &&
|
|
||||||
TM.getRelocationModel() != Reloc::Static)
|
|
||||||
O << "@GOTPCREL";
|
O << "@GOTPCREL";
|
||||||
|
|
||||||
if (needCloseParen) {
|
if (needCloseParen) {
|
||||||
|
Loading…
Reference in New Issue
Block a user