[PATCH] D88804: [LLD] [MinGW] Support setting the subsystem version via the subsystem argument
Mateusz MikuĊa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 5 04:11:32 PDT 2020
mati865 added a comment.
With BFD (tested version 2.35) the latter specified option takes precedence:
$ gcc clear.c -Wl,--subsystem,windows:7.8,--major-subsystem-version,2,--minor-subsystem-version,3
$ llvm-readobj -h a.exe | grep SubsystemVersion
MajorSubsystemVersion: 2
MinorSubsystemVersion: 3
$ gcc clear.c -Wl,--major-subsystem-version,2,--minor-subsystem-version,3,--subsystem,windows:7.8
$ llvm-readobj -h a.exe | grep SubsystemVersion
MajorSubsystemVersion: 7
MinorSubsystemVersion: 8
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88804/new/
https://reviews.llvm.org/D88804
More information about the llvm-commits
mailing list