• Alex Brainman's avatar
    cmd/link/internal/ld: introduce and use windowsgui variable · 4e3a1e40
    Alex Brainman authored
    cmd/link -H flag is stored in variable of type
    cmd/internal/obj.HeadType. The HeadType type from cmd/internal/obj
    accepts Hwindows and Hwindowsgui values, but these values have
    same meaning - build PE executable, except for 2 places in
    cmd/link/internal/ld package.
    
    This CL introduces code to store cmd/link "windowsgui" -H flag
    in cmd/link/internal/ld, so cmd/internal/obj.Hwindowsgui can be
    removed in the next CL.
    
    This CL also includes 2 changes to code where distinction
    between Hwindows and Hwindowsgui is important.
    
    Change-Id: Ie5ee1f374e50c834652a037f2770118d56c21a2a
    Reviewed-on: https://go-review.googlesource.com/38760Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    4e3a1e40
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...