boringssl/util/fipstools
Adam Langley cd334a54ca Handle TOC offsets by giving them to the linker.
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>
2017-06-01 21:29:23 +00:00
..
testdata Handle TOC offsets by giving them to the linker. 2017-06-01 21:29:23 +00:00
ar.go Move FIPS build tools to util/fipstools. 2017-05-12 15:08:46 +00:00
break-hash.go Add tool for corrupting the FIPS module in a binary. 2017-05-23 22:41:14 +00:00
const.go Move FIPS build tools to util/fipstools. 2017-05-12 15:08:46 +00:00
delocate_test.go Switch to new delocate tool. 2017-05-30 18:00:16 +00:00
delocate.go Handle TOC offsets by giving them to the linker. 2017-06-01 21:29:23 +00:00
delocate.peg Switch to new delocate tool. 2017-05-30 18:00:16 +00:00
delocate.peg.go Switch to new delocate tool. 2017-05-30 18:00:16 +00:00
inject-hash.go Move FIPS build tools to util/fipstools. 2017-05-12 15:08:46 +00:00