summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 21:37:01 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 21:37:01 +0000
commit26cc5b78d0f71b78a5d439532b966edf64cc75c8 (patch)
treeb04a07690d91f2b0dcbe0fe1546f465efd35aedb /llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
parent66f4f54e8af0601af9d7b73dd7f4968aa430488e (diff)
downloadbcm5719-llvm-26cc5b78d0f71b78a5d439532b966edf64cc75c8.tar.gz
bcm5719-llvm-26cc5b78d0f71b78a5d439532b966edf64cc75c8.zip
add new PIC16Section class, this time hopefully not breaking the build :)
llvm-svn: 78505
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp')
-rw-r--r--llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
index 3900929f466..a9668f9c07c 100644
--- a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
+++ b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
#include "PIC16TargetObjectFile.h"
+#include "PIC16Section.h"
#include "PIC16ISelLowering.h"
#include "PIC16TargetMachine.h"
#include "llvm/DerivedTypes.h"
@@ -24,7 +25,7 @@ const MCSection *PIC16TargetObjectFile::
getPIC16Section(const char *Name, bool isDirective, SectionKind Kind) const {
if (MCSection *S = getContext().GetSection(Name))
return S;
- return MCSection::Create(Name, isDirective, Kind, getContext());
+ return MCSectionPIC16::Create(Name, isDirective, Kind, getContext());
}
OpenPOWER on IntegriCloud