mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Second set of ARM/MC/ELF changes.
Added ARM specific ELF section types. Added AttributesSection to ARMElfTargetObject First step in unifying .cpu assembly tag with ELF/.o llc now asserts on actual ELF emission on -filetype=obj :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116257 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -36,4 +36,10 @@ void ARMElfTargetObjectFile::Initialize(MCContext &Ctx,
|
||||
MCSectionELF::SHF_ALLOC,
|
||||
SectionKind::getDataRel());
|
||||
}
|
||||
|
||||
AttributesSection =
|
||||
getContext().getELFSection(".ARM.attributes",
|
||||
MCSectionELF::SHT_ARM_ATTRIBUTES,
|
||||
0,
|
||||
SectionKind::getMetadata());
|
||||
}
|
||||
|
Reference in New Issue
Block a user