mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
make PIC vs DynamicNoPIC be explicit in PICStyles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -34,18 +34,6 @@ AsmWriterFlavor("x86-asm-syntax", cl::init(X86Subtarget::Unset),
|
||||
clEnumValN(X86Subtarget::Intel, "intel", "Emit Intel-style assembly"),
|
||||
clEnumValEnd));
|
||||
|
||||
bool X86Subtarget::isPICStyleStubPIC(const TargetMachine &TM) const {
|
||||
return PICStyle == PICStyles::Stub &&
|
||||
TM.getRelocationModel() == Reloc::PIC_;
|
||||
}
|
||||
|
||||
bool X86Subtarget::isPICStyleStubNoDynamic(const TargetMachine &TM) const {
|
||||
return PICStyle == PICStyles::Stub &&
|
||||
TM.getRelocationModel() == Reloc::DynamicNoPIC;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// ClassifyGlobalReference - Classify a global variable reference for the
|
||||
/// current subtarget according to how we should reference it in a non-pcrel
|
||||
/// context.
|
||||
|
Reference in New Issue
Block a user