On Fri, 23 Feb 2024 16:24:48 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> There is not much overlap on how linking is done on Windows on one hand, and > on all Unix platforms on the other. This makes Link.gmk basically consists of > two parts, each in it own half of if statements, and the few common parts are > artificially shoehorned in to fit both sides. > > The code will be much clearer if we just split this into two different files. > > Note that this PR slightly collides with JDK-8326583 > (https://github.com/openjdk/jdk/pull/17986). Whichever of this goes in first > will mean that the other one needs to make some adaptations. This pull request has now been integrated. Changeset: 3780ad31 Author: Magnus Ihse Bursie <i...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/3780ad3133302a91e082dd4e8526425799e88e1f Stats: 265 lines in 12 files changed: 158 ins; 70 del; 37 mod 8326587: Separate out Microsoft toolchain linking Reviewed-by: erikj ------------- PR: https://git.openjdk.org/jdk/pull/17987