delocate: .size BORINGSSL_bcm_text_hash, not OPENSSL_ia32cap_addr. Change-Id: I4e34dabe302f7dacdf04a89052ad9fe9254a1b81 Reviewed-on: https://boringssl-review.googlesource.com/15404 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
diff --git a/crypto/fipsmodule/delocate.go b/crypto/fipsmodule/delocate.go index aeee218..0549cf3 100644 --- a/crypto/fipsmodule/delocate.go +++ b/crypto/fipsmodule/delocate.go
@@ -422,7 +422,7 @@ // Emit an array for storing the module hash. ret = append(ret, ".type BORINGSSL_bcm_text_hash,@object") - ret = append(ret, ".size OPENSSL_ia32cap_addr,32") + ret = append(ret, ".size BORINGSSL_bcm_text_hash,32") ret = append(ret, "BORINGSSL_bcm_text_hash:") for _, b := range uninitHashValue { ret = append(ret, ".byte 0x"+strconv.FormatUint(uint64(b), 16)) @@ -453,7 +453,7 @@ localSymbol := ".L" + symbol + "_local_target" lines = append(lines, line) - lines = append(lines, localSymbol + ":") + lines = append(lines, localSymbol+":") accessors[symbol] = localSymbol continue