mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
sink the 'name' and 'isdirective' state out of MCSection into its derived classes.
This totally optimizes PIC16 sections by not having an 'isdirective' bit anymore!! ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -186,7 +186,7 @@ static int AssembleInput(const char *ProgName) {
|
||||
OwningPtr<MCStreamer> Str(createAsmStreamer(Ctx, outs()));
|
||||
|
||||
// FIXME: Target hook & command line option for initial section.
|
||||
Str.get()->SwitchSection(MCSectionCOFF::Create("__TEXT,__text,"
|
||||
Str.get()->SwitchSection(MCSectionMachO::Create("__TEXT,__text,"
|
||||
"regular,pure_instructions",
|
||||
false,
|
||||
SectionKind::getText(),
|
||||
|
Reference in New Issue
Block a user