We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1e9b43 commit 27affd6Copy full SHA for 27affd6
lld/COFF/DriverUtils.cpp
@@ -254,7 +254,7 @@ void LinkerDriver::parseDosStub(StringRef path) {
254
// MS link.exe compatibility:
255
// 1. stub must greater than or equal to 64 bytes
256
// 2. stub must start with a valid dos signature 'MZ'
257
- if (bufferSize < 0x40)
+ if (bufferSize < 64)
258
Err(ctx) << "/stub: stub must be greater than or equal to 64 bytes: "
259
<< path;
260
if (bufferStart[0] != 'M' || bufferStart[1] != 'Z')
0 commit comments