diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-19 23:49:04 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-19 23:49:04 -0400 |
commit | 5f19afa98611568438b9598e434dee7cca1eeeda (patch) | |
tree | b5fc9bbac313b1da4b37945ace1e45695c907239 /config_misc.h | |
parent | dd97f0686b0c84117e17977b81fa79c7dba8b04b (diff) | |
download | cryptopp-git-5f19afa98611568438b9598e434dee7cca1eeeda.tar.gz |
Update comments
Diffstat (limited to 'config_misc.h')
-rw-r--r-- | config_misc.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/config_misc.h b/config_misc.h index ceb6d11d..c84577e2 100644 --- a/config_misc.h +++ b/config_misc.h @@ -191,9 +191,12 @@ # pragma GCC diagnostic ignored "-Wunused-function"
#endif
-// Should work for Clang 7 and above: https://stackoverflow.com/q/39958935.
-// But Clang 10 is broke: https://bugs.llvm.org/show_bug.cgi?id=50025.
-// And GCC only works on Linux. It pukes on Apple and Solaris platforms.
+// Requires ifunc support: GCC 4.8, Binutils 2.20.1 and libc 2.11.1.
+// Should work for Clang 7 and above: https://stackoverflow.com/q/39958935,
+// but fails with Clang 10: https://bugs.llvm.org/show_bug.cgi?id=50025.
+// Not available on Apple and Solaris platforms. Also see
+// https://sourceware.org/glibc/wiki/GNU_IFUNC and
+// https://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html.
#if defined(__i386__) || defined(__i686__) || defined(__amd64__)
# if defined(__linux__) && (CRYPTOPP_GCC_VERSION >= 40800)
# include <x86intrin.h>
|