• Lynn Boger's avatar
    cmd/link: don't use trampolines in ppc64le ext linking · ec77b8e0
    Lynn Boger authored
    On ppc64x, trampolines are used to resolve too-far
    branches for internal linking.  The external linking,
    solution on ppc64x is to split text sections when they
    get too large, allowing the external linker to handle
    the long branches.
    
    On arm trampolines are generanted for too-far branches
    for internal and external linking.  When the change
    was made recently to enable trampolines for external linking
    on arm, that broke the ppc64x fix for too-far branches
    with external linking.
    
    The fix adds a check to use trampolines only for internal
    linking with ppc64x.
    
    Fixes #17795
    
    Change-Id: Icce968fb96545f10a913e07654514643bce96261
    Reviewed-on: https://go-review.googlesource.com/32853
    Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    Reviewed-by: 's avatarDavid Chase <drchase@google.com>
    ec77b8e0
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...