]> Cypherpunks repositories - gostls13.git/commit
cmd/link: don't pass -gdwarf-2 to external linker
authorThan McIntosh <thanm@google.com>
Thu, 26 Oct 2017 14:15:29 +0000 (10:15 -0400)
committerThan McIntosh <thanm@google.com>
Fri, 27 Oct 2017 14:25:12 +0000 (14:25 +0000)
commit3e1e66fa05017f15b7e91307275975a6584cd205
treeda5a8cf4ae481f50592dab89b31504a7a3adf110
parent509140a549c08607cb05dbd6e10311ef1378e109
cmd/link: don't pass -gdwarf-2 to external linker

Don't pass -gdwarf-2 to the external linker when external linkage is
requested. The Go compiler is now emitting DWARF version 4, so this
doesn't seem needed any more.

Fixes #22455

Change-Id: Ic4122c55e946619a266430f2d26f06d6803dd232
Reviewed-on: https://go-review.googlesource.com/73672
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/link/internal/ld/lib.go