mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 21:14:56 +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)) {
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user