mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
MC/Mach-O: Remove some FIXMEs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ca1212de59
commit
56279f42b6
@ -304,9 +304,7 @@ public:
|
||||
uint64_t Start = OS.tell();
|
||||
(void) Start;
|
||||
|
||||
// FIXME: cast<> support!
|
||||
const MCSectionMachO &Section =
|
||||
static_cast<const MCSectionMachO&>(SD.getSection());
|
||||
const MCSectionMachO &Section = cast<MCSectionMachO>(SD.getSection());
|
||||
WriteBytes(Section.getSectionName(), 16);
|
||||
WriteBytes(Section.getSegmentName(), 16);
|
||||
if (Is64Bit) {
|
||||
@ -819,9 +817,8 @@ public:
|
||||
// Bind non lazy symbol pointers first.
|
||||
for (MCAssembler::indirect_symbol_iterator it = Asm.indirect_symbol_begin(),
|
||||
ie = Asm.indirect_symbol_end(); it != ie; ++it) {
|
||||
// FIXME: cast<> support!
|
||||
const MCSectionMachO &Section =
|
||||
static_cast<const MCSectionMachO&>(it->SectionData->getSection());
|
||||
cast<MCSectionMachO>(it->SectionData->getSection());
|
||||
|
||||
if (Section.getType() != MCSectionMachO::S_NON_LAZY_SYMBOL_POINTERS)
|
||||
continue;
|
||||
@ -832,9 +829,8 @@ public:
|
||||
// Then lazy symbol pointers and symbol stubs.
|
||||
for (MCAssembler::indirect_symbol_iterator it = Asm.indirect_symbol_begin(),
|
||||
ie = Asm.indirect_symbol_end(); it != ie; ++it) {
|
||||
// FIXME: cast<> support!
|
||||
const MCSectionMachO &Section =
|
||||
static_cast<const MCSectionMachO&>(it->SectionData->getSection());
|
||||
cast<MCSectionMachO>(it->SectionData->getSection());
|
||||
|
||||
if (Section.getType() != MCSectionMachO::S_LAZY_SYMBOL_POINTERS &&
|
||||
Section.getType() != MCSectionMachO::S_SYMBOL_STUBS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user