aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PIC16/PIC16TargetAsmInfo.cpp')
-rw-r--r--lib/Target/PIC16/PIC16TargetAsmInfo.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/Target/PIC16/PIC16TargetAsmInfo.cpp b/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
index 91dcbe3..4dcd41a 100644
--- a/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
+++ b/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
@@ -17,11 +17,15 @@
using namespace llvm;
PIC16TargetAsmInfo::
-PIC16TargetAsmInfo(const PIC16TargetMachine &TM)
+PIC16TargetAsmInfo(const PIC16TargetMachine &TM)
: TargetAsmInfo(TM) {
- Data16bitsDirective = "\t.half\t";
- Data32bitsDirective = "\t.word\t";
CommentString = ";";
- COMMDirective = "\t";
- COMMDirectiveTakesAlignment = 0;
+ Data8bitsDirective = " db ";
+ Data16bitsDirective = " db ";
+ Data32bitsDirective = " db ";
+ DataSectionStartSuffix = " IDATA ";
+ UDataSectionStartSuffix = " UDATA ";
+ TextSectionStartSuffix = " CODE ";
+ RomDataSectionStartSuffix = " ROMDATA ";
+ ZeroDirective = NULL;
}