cd334a54ca
An offset > 2^15 would exceed the range of an addi immediate on ppc64le. Thus, rather than add the offset after loading the TOC reference, have different tocloader functions for each (symbol, offset) pair. In this case, the linker can handle large offsets by changing the value of foo+offset@toc@ha accordingly. Change-Id: Iac1481bccaf55fb0c2b080eedebaf11befdae465 Reviewed-on: https://boringssl-review.googlesource.com/16784 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> |
||
---|---|---|
.. | ||
ppc64le-Sample | ||
ppc64le-Sample2 | ||
ppc64le-TOCWithOffset | ||
x86_64-Basic | ||
x86_64-BSS | ||
x86_64-GOTRewrite | ||
x86_64-LabelRewrite | ||
x86_64-Sections |