diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-01-03 20:41:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-01-03 20:41:54 +0000 |
commit | b379f8d81f6141336c8585b19f9703bc26b99e2a (patch) | |
tree | e91a764a7f1c84b2581d2ad59d2e3c768e807937 /libgo/runtime/runtime.h | |
parent | d4eff95b5795146476524ee1d558323ca98eb292 (diff) | |
download | gcc-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.h | 2 |
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) |