diff options
author | Aaron Zinman <aaron@azinman.com> | 2016-02-03 17:36:15 -0800 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2016-04-14 05:24:14 +0000 |
commit | f819f48fc8c472714317daba843c833f7e6f1aaf (patch) | |
tree | e9120529b90d40d1a0d60d721f7f981ef6322f92 /src/runtime/wbfat_gen.go | |
parent | 16f783ee7c1cd2dc999525e7b35360fc0112590a (diff) | |
download | go-git-f819f48fc8c472714317daba843c833f7e6f1aaf.tar.gz |
darwin/amd64: fix text-relocation issues for c-archive libraries

The existing implementation deals with absolute relocations in __TEXT
for darwin/amd64 in build-mode c-shared, but it ignores c-archive.
This results in issues when trying to use a c-archive in an iOS
app on the 64-bit simulator. This patch adds c-archive to the
handling of this issue.
Fixes #14217
Change-Id: I2e4d5193caa531171ad22fd0cd420a8bfb4646a6
Reviewed-on: https://go-review.googlesource.com/19206
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/22046
Diffstat (limited to 'src/runtime/wbfat_gen.go')
0 files changed, 0 insertions, 0 deletions