浏览代码

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>
kris/onging/CECPQ3_patch15
Matthew Braithwaite 7 年前
committed by CQ bot account: commit-bot@chromium.org
父节点
当前提交
f131301413
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      crypto/fipsmodule/delocate.go

+ 2
- 2
crypto/fipsmodule/delocate.go 查看文件

@@ -422,7 +422,7 @@ func transform(lines []string, symbols map[string]bool) (ret []string) {

// 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 @@ func handleBSSSection(lines []string, source *lineSource) (map[string]string, []
localSymbol := ".L" + symbol + "_local_target"

lines = append(lines, line)
lines = append(lines, localSymbol + ":")
lines = append(lines, localSymbol+":")

accessors[symbol] = localSymbol
continue


正在加载...
取消
保存