diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2018-08-23 07:27:36 +0000 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2021-01-19 14:41:22 +0100 |
commit | 798bc0b29a4ad342010f7cd31dd38eeeb5b709db (patch) | |
tree | 01a5381ac8e9a0c9a97bdf513f56ae48786869eb /src/compat/glibc_compat.cpp | |
parent | 43f3ada27b835e6b198f9a669e4955d06f5c4d08 (diff) | |
download | bitcoin-798bc0b29a4ad342010f7cd31dd38eeeb5b709db.tar.xz |
Support glibc-back-compat on 64-bit POWER
Diffstat (limited to 'src/compat/glibc_compat.cpp')
-rw-r--r-- | src/compat/glibc_compat.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compat/glibc_compat.cpp b/src/compat/glibc_compat.cpp index 6d7a293f9b..8a51f310f7 100644 --- a/src/compat/glibc_compat.cpp +++ b/src/compat/glibc_compat.cpp @@ -54,6 +54,12 @@ __asm(".symver log2f_old,log2f@GLIBC_2.2.5"); __asm(".symver log2f_old,log2f@GLIBC_2.4"); #elif defined(__aarch64__) __asm(".symver log2f_old,log2f@GLIBC_2.17"); +#elif defined(__powerpc64__) +# ifdef WORDS_BIGENDIAN +__asm(".symver log2f_old,log2f@GLIBC_2.3"); +# else +__asm(".symver log2f_old,log2f@GLIBC_2.17"); +# endif #elif defined(__riscv) __asm(".symver log2f_old,log2f@GLIBC_2.27"); #endif |