]> Cypherpunks repositories - gostls13.git/commit
cmd/link: revise previous __DWARF segment protection fix
authorThan McIntosh <thanm@google.com>
Thu, 20 Jun 2019 13:02:05 +0000 (09:02 -0400)
committerThan McIntosh <thanm@google.com>
Fri, 21 Jun 2019 14:52:06 +0000 (14:52 +0000)
commit3f1422c799edb143303c86c0e875d44c3612df64
tree1867ba4b407d5da01fa838684a31f4d49888c59f
parentb3399ac5d19c896452548ca8e99176bcdab78781
cmd/link: revise previous __DWARF segment protection fix

Tweak the previous fix for issue 32673 (in CL 182958) to work around
problems with c-shared build mode that crop up on some of the builders
(10.11, 10.12).  We now consistently set vmaddr and vmsize to zero
for the DWARF segment regardless of build mode.

Updates #32673

Change-Id: Id1fc213590ad00c28352925e2d754d760e022b5e
Reviewed-on: https://go-review.googlesource.com/c/go/+/183237
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/link/internal/ld/macho_combine_dwarf.go