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/config.h.in | |
parent | d4eff95b5795146476524ee1d558323ca98eb292 (diff) |
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/config.h.in')
-rw-r--r-- | libgo/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/config.h.in b/libgo/config.h.in index d3b3067d32a..a669ff7add1 100644 --- a/libgo/config.h.in +++ b/libgo/config.h.in @@ -21,6 +21,9 @@ /* Define if your assembler supports unwind section type. */ #undef HAVE_AS_X86_64_UNWIND_SECTION_TYPE +/* Define if your assembler supports AES instructions. */ +#undef HAVE_AS_X86_AES + /* Define if your assembler supports PC relative relocs. */ #undef HAVE_AS_X86_PCREL |