mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Stop using MCSectionData in MCAsmLayout.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -950,8 +950,7 @@ void WinCOFFObjectWriter::WriteObject(MCAssembler &Asm,
|
||||
if (Sec->Number == -1)
|
||||
continue;
|
||||
|
||||
Sec->Header.SizeOfRawData =
|
||||
Layout.getSectionAddressSize(&Section.getSectionData());
|
||||
Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(&Section);
|
||||
|
||||
if (IsPhysicalSection(Sec)) {
|
||||
// Align the section data to a four byte boundary.
|
||||
|
Reference in New Issue
Block a user