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 <davidben@google.com>
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
David Benjamin 2017-05-02 17:13:31 -04:00 committed by CQ bot account: commit-bot@chromium.org
parent fa839dcac0
commit ca62bee964

View File

@ -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)