[llvm-dev] [LLD][COFF] Zero linker-version header field breaks Authenticode on Windows 7
Rui Ueyama via llvm-dev
llvm-dev at lists.llvm.org
Wed Jun 21 08:04:56 PDT 2017
Ah, OK. Then I think we should just hard-code the linker so that it sets
MajorLinkerVersion to 14. We can make it configurable, but hard-coding
Do you want to write a patch? I mean it's going to be just a single-line
patch, so if you are not familiar with LLVM development process, I can do
that for you.
On Wed, Jun 21, 2017 at 7:36 AM, Simon Tatham <Simon.Tatham at arm.com> wrote:
> > From: Rui Ueyama [mailto:ruiu at google.com]
> > Sent: 21 June 2017 15:23
> > lld-link already has an option to specify 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev