summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-22 21:43:10 +0000
committerChris Lattner <sabre@nondot.org>2009-08-22 21:43:10 +0000
commit33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5 (patch)
treeff8c7ee33cfec48c89f7dbd8f59a8b64cac914d9 /lib/CodeGen/ELFWriter.cpp
parent90aa1f92c1e3a0fa9f66197ef851ab995afb37ae (diff)
downloadllvm-33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5.tar.gz
llvm-33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5.tar.bz2
llvm-33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5.tar.xz
rename TAI -> MAI, being careful not to make MAILJMP instructions :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.cpp')
-rw-r--r--lib/CodeGen/ELFWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp
index f2b45cd7c6..b1842ff3dc 100644
--- a/lib/CodeGen/ELFWriter.cpp
+++ b/lib/CodeGen/ELFWriter.cpp
@@ -80,7 +80,7 @@ ELFWriter::ELFWriter(raw_ostream &o, TargetMachine &tm)
isLittleEndian(TM.getTargetData()->isLittleEndian()),
ElfHdr(isLittleEndian, is64Bit) {
- TAI = TM.getMCAsmInfo();
+ MAI = TM.getMCAsmInfo();
TEW = TM.getELFWriterInfo();
// Create the object code emitter object for this target.
@@ -687,7 +687,7 @@ bool ELFWriter::doFinalization(Module &M) {
SymbolList.push_back(ELFSym::getExtSym(*I));
// Emit non-executable stack note
- if (TAI->getNonexecutableStackDirective())
+ if (MAI->getNonexecutableStackDirective())
getNonExecStackSection();
// Emit a symbol for each section created until now, skip null section