search for: minorlinkerversion

Displaying 2 results from an estimated 2 matches for "minorlinkerversion".

Did you mean: majorlinkerversion
2017 Jun 21
2
[LLD][COFF] Zero linker-version header field breaks Authenticode on Windows 7
...ital Signatures' tab at all (for a 32-bit binary), or one in which Windows says the signature doesn't validate. After some experimentation, it appears that this is a consequence of the 'linker version' field in the PE header being zero! lld-link sets both the MajorLinkerVersion and MinorLinkerVersion bytes to zero; Visual Studio's linker (as of VS2015) sets MajorLinkerVersion to 14. And if I patch lld to set MajorLinkerVersion to 14, the problem goes away, and my signed lld-linked executables validate just fine on Windows 7 as well as 10. I have no idea why this happens, though I speculate...
2017 Jun 21
2
[LLD][COFF] Zero linker-version header field breaks Authenticode on Windows 7
...ify version. Please try to add > "/version:14.0" to your command line. That doesn't affect the same version field. The number I put in there goes into the MajorImageVersion and MinorImageVersion fields, whereas to solve this signature issue I need to control MajorLinkerVersion and MinorLinkerVersion. Cheers, Simon