aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16TargetObjectFile.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 20:23:47 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 20:23:47 +0000
commit9aee18186c1f9b6477914c913defeae1cb036548 (patch)
tree67916df4855c0f160c7f978c4db869df61c568ca /lib/Target/PIC16/PIC16TargetObjectFile.h
parent0c0cb7123346beab4e0d3ad6ce9570560b14971e (diff)
downloadexternal_llvm-9aee18186c1f9b6477914c913defeae1cb036548.zip
external_llvm-9aee18186c1f9b6477914c913defeae1cb036548.tar.gz
external_llvm-9aee18186c1f9b6477914c913defeae1cb036548.tar.bz2
give pic16 a target-specific section creation name too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16TargetObjectFile.h')
-rw-r--r--lib/Target/PIC16/PIC16TargetObjectFile.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/PIC16/PIC16TargetObjectFile.h b/lib/Target/PIC16/PIC16TargetObjectFile.h
index b71a705..d834cde 100644
--- a/lib/Target/PIC16/PIC16TargetObjectFile.h
+++ b/lib/Target/PIC16/PIC16TargetObjectFile.h
@@ -46,9 +46,8 @@ namespace llvm {
class PIC16TargetObjectFile : public TargetLoweringObjectFile {
const TargetMachine *TM;
- const MCSection *getOrCreateSection(const char *Name,
- bool isDirective,
- SectionKind K) const;
+ const MCSection *getPIC16Section(const char *Name, bool isDirective,
+ SectionKind K) const;
public:
mutable std::vector<PIC16Section*> BSSSections;
mutable std::vector<PIC16Section*> IDATASections;