diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2009-08-05 13:59:57 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2009-08-05 13:59:57 +0000 |
commit | 1ad11a896c85bc19cf5023ed6b132773cb09b918 (patch) | |
tree | 4ca3b9be54af3ed6e963d3acac8eee54f1808755 | |
parent | 19229581ba284f845285a71cf083d501e0780050 (diff) | |
download | external_llvm-1ad11a896c85bc19cf5023ed6b132773cb09b918.zip external_llvm-1ad11a896c85bc19cf5023ed6b132773cb09b918.tar.gz external_llvm-1ad11a896c85bc19cf5023ed6b132773cb09b918.tar.bz2 |
Alpha: Get section directives right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78189 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Alpha/AlphaISelLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index a5eeca7..f3f90cf 100644 --- a/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/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()); } }; |