mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Alpha: Get section directives right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
19229581ba
commit
1ad11a896c
@ -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());
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user