]> Cypherpunks repositories - gostls13.git/commit
cmd/link: do not add label symbols for DWARF on Windows/ARM64
authorCherry Mui <cherryyz@google.com>
Wed, 23 Mar 2022 22:57:16 +0000 (18:57 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 24 Mar 2022 14:44:47 +0000 (14:44 +0000)
commitcccfb8ffdb97224aed5cc718d4bac3f3df9e55ed
tree2b8e616a06acb4ace8355e4985cecb5389b94d8a
parent0ed31eb73b13bd57aff727f4ab759c6701d45a01
cmd/link: do not add label symbols for DWARF on Windows/ARM64

Label symbols are only useful for relocations from text. No need
to do it for DWARF. And the PE symbol table doesn't like them.

May fix #51903.

Change-Id: Ibe6ea880d8533ba1dcc017030072c7dffee0e9e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/395215
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/arm64/asm.go