aboutsummaryrefslogtreecommitdiff
path: root/src/plugin/plugin_test.go
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2018-11-23 14:20:19 +0100
committerIan Lance Taylor <iant@golang.org>2018-11-27 21:06:16 +0000
commit4295ed9bef1f2b15837bdeb52766952c464f225d (patch)
tree92aff9a9dd10452220e5c923a4c7bec79b427c79 /src/plugin/plugin_test.go
parentb41cdc4a591b19e09c09f062e785f2b7af06863d (diff)
downloadgo-4295ed9bef1f2b15837bdeb52766952c464f225d.tar.xz
cmd: fix symbols addressing for aix/ppc64
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: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/plugin/plugin_test.go')
0 files changed, 0 insertions, 0 deletions