• Austin Clements's avatar
    cmd/ld: set ELF ABI version for ppc64x · 15c67e21
    Austin Clements authored
    On ppc64, there are three ELF ABI versions an ELF file can request.
    Previously, we used 0, which means "unspecified".  On our test
    machines, this meant to use the default (v1 for big endian and v2 for
    little endian), but apparently some systems can pick the wrong ABI if
    neither is requested.  Leaving this as 0 also confuses libbfd, which
    confuses gdb, objdump, etc.
    
    Fix these problems by specifying ABI v1 for big endian and v2 for
    little endian.
    
    Change-Id: I4d3d5478f37f11baab3681a07daff3da55802322
    Reviewed-on: https://go-review.googlesource.com/1800Reviewed-by: 's avatarMinux Ma <minux@golang.org>
    15c67e21
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include 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...