tester for linkers

This commit is contained in:
Nikita Smith
2025-06-25 10:53:21 -07:00
committed by Ryan Fleury
parent 19a7ada1dc
commit b9768be4ed
8 changed files with 688 additions and 54 deletions
+16
View File
@@ -1742,3 +1742,19 @@ pe_compute_checksum(U8 *buffer, U64 buffer_size)
return hash;
}
////////////////////////////////
internal B32
pe_has_plus_header(COFF_MachineType machine)
{
B32 has_plus_header = 0;
switch (machine) {
case COFF_MachineType_X86: {
has_plus_header = 0;
} break;
case COFF_MachineType_X64: {
has_plus_header = 1;
} break;
}
return has_plus_header;
}