diff options
author | Austin Clements <austin@google.com> | 2018-10-31 20:42:38 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2018-11-12 20:46:52 +0000 |
commit | 1794ee682994ed2efbb9371060856cd7b146f405 (patch) | |
tree | e40726bb83e7b1c359c0f1a9acdc095e7c132572 /src/cmd/internal/obj/wasm/wasmobj.go | |
parent | 16e6cd9a4dc499db164624a048f25e2f382ac016 (diff) | |
download | go-git-1794ee682994ed2efbb9371060856cd7b146f405.tar.gz |
cmd/link: nice error message on ABI mismatch
Currently, if a symbol is only defined under one ABI and referenced
under another ABI, you simply get a "relocation target X not defined".
This is confusing because it seems like the symbol is defined.
This CL enhances the error message in this case to be "relocation
target X not defined for <ABI> (but is defined for <ABI>)".
For #27539.
Change-Id: If857a1882c3fe9af5346797d5295ca1fe50ae565
Reviewed-on: https://go-review.googlesource.com/c/147159
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/wasm/wasmobj.go')
0 files changed, 0 insertions, 0 deletions