aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/objfile.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-04-24 12:13:11 -0400
committerCherry Zhang <cherryyz@google.com>2020-04-24 16:58:37 +0000
commitf2d8da1a353b493548e211b06fdf47bd998ad4b6 (patch)
treeb707f002054aa52151a5bf1ea61f5576a1138754 /src/cmd/internal/obj/objfile.go
parentf790533d9ffd6d50c8efccf8f8edac0ef76b3da4 (diff)
downloadgo-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