mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Eliminate textual section switching from the x86 backend, one
more step towards "semantics sections" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -532,6 +532,14 @@ getSectionForConstant(SectionKind Kind) const {
|
||||
// MachO
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
const MCSection *TargetLoweringObjectFileMachO::
|
||||
getMachOSection(const char *Name, bool isDirective, SectionKind K) {
|
||||
// FOR NOW, Just forward.
|
||||
return getOrCreateSection(Name, isDirective, K);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
|
||||
const TargetMachine &TM) {
|
||||
TargetLoweringObjectFile::Initialize(Ctx, TM);
|
||||
@@ -733,6 +741,11 @@ shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler *Mang) const {
|
||||
// COFF
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
const MCSection *TargetLoweringObjectFileCOFF::
|
||||
getCOFFSection(const char *Name, bool isDirective, SectionKind K) {
|
||||
return getOrCreateSection(Name, isDirective, K);
|
||||
}
|
||||
|
||||
void TargetLoweringObjectFileCOFF::Initialize(MCContext &Ctx,
|
||||
const TargetMachine &TM) {
|
||||
TargetLoweringObjectFile::Initialize(Ctx, TM);
|
||||
|
||||
Reference in New Issue
Block a user