1
0
mirror of https://github.com/golang/go synced 2024-11-06 14:26:22 -07:00

[dev.link] cmd/link: default to new ELF host object loader

Flag flip to make "-newldelf" linker option default to true. Next step
will be to remove the old code.

Change-Id: Ie20637ae2f459b32a9aa30e711f51549da28ffd0
Reviewed-on: https://go-review.googlesource.com/c/go/+/213427
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
Than McIntosh 2020-01-06 14:33:49 -05:00
parent 5279166402
commit 3fa9500dd1

View File

@ -87,7 +87,7 @@ var (
flagInterpreter = flag.String("I", "", "use `linker` as ELF dynamic linker")
FlagDebugTramp = flag.Int("debugtramp", 0, "debug trampolines")
FlagStrictDups = flag.Int("strictdups", 0, "sanity check duplicate symbol contents during object file reading (1=warn 2=err).")
FlagNewLdElf = flag.Bool("newldelf", false, "ELF host obj load with new loader")
FlagNewLdElf = flag.Bool("newldelf", true, "ELF host obj load with new loader")
FlagRound = flag.Int("R", -1, "set address rounding `quantum`")
FlagTextAddr = flag.Int64("T", -1, "set text segment `address`")