5baee45652
This makes running go test, etc., in util/fipstools/delocate work! This adds a go_executable command to CMake like: go_executable(delocate boringssl.googlesource.com/boringssl/util/fipstools/delocate) which internally gets dependencies and whatnot so it behaves like usual Go. Update-Note: delocate has been rearranged a bit. Change-Id: I244a7317dd8d4f2ab77a0daa624ed3e0b385faef Reviewed-on: https://boringssl-review.googlesource.com/31885 Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
24 lines
414 B
ArmAsm
24 lines
414 B
ArmAsm
.text
|
|
foo:
|
|
# TOC references may have offsets.
|
|
addis 3, 2, 5+foo@toc@ha
|
|
addi 3, 3, 10+foo@toc@l
|
|
|
|
addis 3, 2, 15+foo@toc@ha
|
|
addi 3, 3, 20+foo@toc@l
|
|
|
|
addis 4, 2, foo@toc@ha
|
|
addi 4, 4, foo@toc@l
|
|
|
|
addis 5, 2, 5+foo@toc@ha
|
|
ld 5, 10+foo@toc@l(5)
|
|
|
|
addis 4, 2, foo-10@toc@ha
|
|
addi 4, 4, foo-10@toc@l
|
|
|
|
addis 4, 2, foo@toc@ha+25
|
|
addi 4, 4, foo@toc@l+25
|
|
|
|
addis 4, 2, 1+foo-2@toc@ha+3
|
|
addi 4, 4, 1+foo-2@toc@l+3
|