diff options
| author | Austin Clements <austin@google.com> | 2017-10-10 11:58:31 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-10-11 20:06:41 +0000 |
| commit | e29efbcbcbcd7dde56ac0b4880ff8c13fdb6a89d (patch) | |
| tree | a8a3a8e9f4cfe60346124d67ded248942de4ad64 /src/runtime/rt0_linux_amd64.s | |
| parent | 371eda45582aea165131cc204e92bdbce3c95097 (diff) | |
| download | go-e29efbcbcbcd7dde56ac0b4880ff8c13fdb6a89d.tar.xz | |
cmd/link: fix some unintentional symbol creation
There are two places in DWARF generation that create symbols when they
really just want to get the symbol if it exists. writeranges, in
particular, will create a DWARF range symbol for every single textp
symbol (though they won't get linked into any list, so they don't
affect the binary).
Fix these to use ROLookup instead of Lookup.
Change-Id: I401eadf22890e296bd08bccaa6ba2fd8fac800cd
Reviewed-on: https://go-review.googlesource.com/69971
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/runtime/rt0_linux_amd64.s')
0 files changed, 0 insertions, 0 deletions
