mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Unbreak buildbots
The next offset should be updated as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228883 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98f9153ded
commit
7418cb0ec6
@ -940,7 +940,8 @@ void WinCOFFObjectWriter::WriteObject(MCAssembler &Asm,
|
|||||||
|
|
||||||
if (IsPhysicalSection(Sec)) {
|
if (IsPhysicalSection(Sec)) {
|
||||||
// Align the section data to a four byte boundary.
|
// Align the section data to a four byte boundary.
|
||||||
Sec->Header.PointerToRawData = RoundUpToAlignment(offset, 4);
|
offset = RoundUpToAlignment(offset, 4);
|
||||||
|
Sec->Header.PointerToRawData = offset;
|
||||||
|
|
||||||
offset += Sec->Header.SizeOfRawData;
|
offset += Sec->Header.SizeOfRawData;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user