aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/runtime.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-01-03 20:41:54 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-01-03 20:41:54 +0000
commitb379f8d81f6141336c8585b19f9703bc26b99e2a (patch)
treee91a764a7f1c84b2581d2ad59d2e3c768e807937 /libgo/runtime/runtime.h
parentd4eff95b5795146476524ee1d558323ca98eb292 (diff)
downloadgcc-b379f8d81f6141336c8585b19f9703bc26b99e2a.zip
gcc-b379f8d81f6141336c8585b19f9703bc26b99e2a.tar.gz
gcc-b379f8d81f6141336c8585b19f9703bc26b99e2a.tar.bz2
re PR go/78789 (Error: no such instruction: `aesenc %xmm0,%xmm2' when compiling libgo/runtime/aeshash.c)
PR go/78789 runtime: don't build aeshash.c if the assembler doesn't support it This is for CentOS 5, whose assembler does not know the aesinc instruction. Fixes GCC PR 78789. Patch by Uros Bizjak. Reviewed-on: https://go-review.googlesource.com/34796 From-SVN: r244031
Diffstat (limited to 'libgo/runtime/runtime.h')
-rw-r--r--libgo/runtime/runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h
index 6cbf02d..54bdcf8 100644
--- a/libgo/runtime/runtime.h
+++ b/libgo/runtime/runtime.h
@@ -599,6 +599,8 @@ extern void setIsCgo(void)
__asm__ (GOSYM_PREFIX "runtime.setIsCgo");
extern void setCpuidECX(uint32)
__asm__ (GOSYM_PREFIX "runtime.setCpuidECX");
+extern void setSupportAES(bool)
+ __asm__ (GOSYM_PREFIX "runtime.setSupportAES");
extern void makeMainInitDone(void)
__asm__ (GOSYM_PREFIX "runtime.makeMainInitDone");
extern void closeMainInitDone(void)