]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.link] cmd/link: default to new ELF host object loader
authorThan McIntosh <thanm@google.com>
Mon, 6 Jan 2020 19:33:49 +0000 (14:33 -0500)
committerThan McIntosh <thanm@google.com>
Fri, 10 Jan 2020 12:36:40 +0000 (12:36 +0000)
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>
src/cmd/link/internal/ld/main.go

index 4ed8a02d67508f132faa52ea12fc1c9bc5811c17..db28e2ed035bf83f9886305fc908b371a760ce98 100644 (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`")