mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -77,6 +77,7 @@ void MCObjectStreamer::SwitchSection(const MCSection *Section) {
|
||||
// If already in this section, then this is a noop.
|
||||
if (Section == CurSection) return;
|
||||
|
||||
PrevSection = CurSection;
|
||||
CurSection = Section;
|
||||
CurSectionData = &getAssembler().getOrCreateSectionData(*Section);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user