From ca62bee964866486a7a8ff954ed841072aec43d1 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Tue, 2 May 2017 17:13:31 -0400 Subject: [PATCH] Don't emit a redirector for OPENSSL_ia32cap_get. Another synthesized function which may be referenced directly. Change-Id: Ic75fe66ce7244246a2d4a707b6a5fee24cac6941 Reviewed-on: https://boringssl-review.googlesource.com/15831 Commit-Queue: David Benjamin Commit-Queue: Adam Langley Reviewed-by: Adam Langley CQ-Verified: CQ bot account: commit-bot@chromium.org --- crypto/fipsmodule/delocate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/fipsmodule/delocate.go b/crypto/fipsmodule/delocate.go index 0ec5b0d9..7483fc7c 100644 --- a/crypto/fipsmodule/delocate.go +++ b/crypto/fipsmodule/delocate.go @@ -269,7 +269,7 @@ func transform(lines []string, symbols map[string]bool) (ret []string) { continue } - if strings.HasSuffix(target, "_bss_get") { + if strings.HasSuffix(target, "_bss_get") || target == "OPENSSL_ia32cap_get" { // reference to a synthesised function. Don't // indirect it. ret = append(ret, line)