• Michael Hudson-Doyle's avatar
    cmd/compile: do not generate tail calls when dynamic linking on ppc64le · d25c3ead
    Michael Hudson-Doyle authored
    When a wrapper method calls the real implementation, it's not possible to use a
    tail call when dynamic linking on ppc64le. The bad scenario is when a local
    call is made to the wrapper: the wrapper will call the implementation, which
    might be in a different module and so set the TOC to the appropriate value for
    that module. But if it returns directly to the wrapper's caller, nothing will
    reset it to the correct value for that function.
    
    Change-Id: Icebf24c9a2a0a9a7c2bce6bd6f1358657284fb10
    Reviewed-on: https://go-review.googlesource.com/23468Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    d25c3ead
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...