Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link.Coff: Pass -lldmingw to LLD earlier and regardless of -lc. #21898

Merged
merged 1 commit into from
Nov 4, 2024

Commits on Nov 3, 2024

  1. link.Coff: Pass -lldmingw to LLD earlier and regardless of -lc.

    The -lldmingw option affects a lot of logic throughout LLD. We need to pass it
    for *-windows-gnu even when we're not actually linking MinGW since we're still
    using the MinGW ABI with all that that entails. (One particular problem we would
    run into is missing handling of stdcall-decorated symbols for 32-bit x86.) Also,
    various other LLD options are sensitive to this option, so it's best to pass it
    as early as possible.
    
    Closes ziglang#11817.
    alexrp committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    0a77be4 View commit details
    Browse the repository at this point in the history