commit | f7c0afdb6eb6718d984072c460c8ec6da9713671 | [log] [tgz] |
---|---|---|
author | AdityaK <appujee@google.com> | Fri Feb 10 09:50:39 2023 -0800 |
committer | Aditya Kumar <appujee@google.com> | Mon Feb 13 21:31:36 2023 +0000 |
tree | e236c943cdf1aaebd9f8fba1611c492ed51411ab | |
parent | e56fd9467d912bb585e812fbb96c80c9f7208f1e [diff] |
Disable emulated tls for RISCV Bug: b/267688421 Change-Id: I885bcf966db2e9a0a3edc1fee865b3cf9c6ff90a
diff --git a/cc/config/riscv64_device.go b/cc/config/riscv64_device.go index 67208b2..b3619c8 100644 --- a/cc/config/riscv64_device.go +++ b/cc/config/riscv64_device.go
@@ -35,7 +35,9 @@ } riscv64Lldflags = append(riscv64Ldflags, - "-Wl,-z,max-page-size=4096") + "-Wl,-z,max-page-size=4096", + "-Wl,-plugin-opt,-emulated-tls=0", + ) riscv64Cppflags = []string{}