diff options
| author | Cherry Zhang <cherryyz@google.com> | 2020-04-24 12:13:11 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2020-04-24 16:58:37 +0000 |
| commit | f2d8da1a353b493548e211b06fdf47bd998ad4b6 (patch) | |
| tree | b707f002054aa52151a5bf1ea61f5576a1138754 /src/cmd/internal/obj/objfile.go | |
| parent | f790533d9ffd6d50c8efccf8f8edac0ef76b3da4 (diff) | |
| download | go-f2d8da1a353b493548e211b06fdf47bd998ad4b6.tar.xz | |
[dev.link] cmd/link: set HeadType early
So we can use it to set per-OS flags.
Also set flagnewDoData after archinit, where IsELF is set.
This should correct the logic of setting flagnewDoData.
Change-Id: I18c7252f141aa35119005c252becc9d7cb74f2f7
Reviewed-on: https://go-review.googlesource.com/c/go/+/229867
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd/internal/obj/objfile.go')
0 files changed, 0 insertions, 0 deletions
