• Clément Chigot's avatar
    cmd: fix symbols addressing for aix/ppc64 · 4295ed9b
    Clément Chigot authored
    This commit changes the code generated for addressing symbols on AIX
    operating system.
    
    On AIX, every symbol accesses must be done via another symbol near the TOC,
    named TOC anchor or TOC entry. This TOC anchor is a pointer to the symbol
    address.
    During Progedit function, when a symbol access is detected, its instructions
    are modified to create a load on its TOC anchor and retrieve the symbol.
    
    Change-Id: I00cf8f49c13004bc99fa8af13d549a709320f797
    Reviewed-on: https://go-review.googlesource.com/c/151039
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    4295ed9b
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
mips Loading commit data...
ppc64 Loading commit data...
s390x Loading commit data...
wasm Loading commit data...
x86 Loading commit data...
abi_string.go Loading commit data...
addrtype_string.go Loading commit data...
bootstrap.go Loading commit data...
data.go Loading commit data...
go.go Loading commit data...
inl.go Loading commit data...
ld.go Loading commit data...
line.go Loading commit data...
line_test.go Loading commit data...
link.go Loading commit data...
objfile.go Loading commit data...
pass.go Loading commit data...
pcln.go Loading commit data...
plist.go Loading commit data...
sizeof_test.go Loading commit data...
sort.go Loading commit data...
stringer.go Loading commit data...
sym.go Loading commit data...
textflag.go Loading commit data...
util.go Loading commit data...