• Austin Clements's avatar
    cmd/link: nice error message on ABI mismatch · 1794ee68
    Austin Clements authored
    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: 's avatarKeith Randall <khr@golang.org>
    1794ee68
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...