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 | ba3a342c8996ad10715861e81c39e840daaba332 (patch) | |
| tree | b29d4c24a137afb14bf86cd63a820527449bb667 | |
| parent | 72e211a47a0b6eed330e8a76f960b4d45c35fb36 (diff) | |
| download | bcm5719-llvm-ba3a342c8996ad10715861e81c39e840daaba332.tar.gz bcm5719-llvm-ba3a342c8996ad10715861e81c39e840daaba332.zip | |
Alpha: Get section directives right
llvm-svn: 78189
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelLowering.cpp | 6 |
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()); } }; |

