summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2009-08-05 13:59:57 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2009-08-05 13:59:57 +0000
commitba3a342c8996ad10715861e81c39e840daaba332 (patch)
treeb29d4c24a137afb14bf86cd63a820527449bb667 /llvm/lib/Target/Alpha/AlphaISelLowering.cpp
parent72e211a47a0b6eed330e8a76f960b4d45c35fb36 (diff)
downloadbcm5719-llvm-ba3a342c8996ad10715861e81c39e840daaba332.tar.gz
bcm5719-llvm-ba3a342c8996ad10715861e81c39e840daaba332.zip
Alpha: Get section directives right
llvm-svn: 78189
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r--llvm/lib/Target/Alpha/AlphaISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
index a5eeca70264..f3f90cf6c32 100644
--- a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -36,11 +36,11 @@ class TargetLoweringObjectFileAlpha : public TargetLoweringObjectFile {
public:
void Initialize(MCContext &Ctx, const TargetMachine &TM) {
TargetLoweringObjectFile::Initialize(Ctx, TM);
- TextSection = getOrCreateSection("_text", true,
+ TextSection = getOrCreateSection(".text", true,
SectionKind::getText());
- DataSection = getOrCreateSection("_data", true,
+ DataSection = getOrCreateSection(".data", true,
SectionKind::getDataRel());
- ReadOnlySection = getOrCreateSection("_rodata", true,
+ ReadOnlySection = getOrCreateSection(".rodata", true,
SectionKind::getReadOnly());
}
};
OpenPOWER on IntegriCloud