Skip to content

Commit

Permalink
Update glibc_compat.cpp with risc
Browse files Browse the repository at this point in the history
  • Loading branch information
cevap committed Jan 14, 2019
1 parent fb0bdae commit c251de5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/compat/glibc_compat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ __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(__riscv)
__asm(".symver log2f_old,log2f@GLIBC_2.27");
#endif
extern "C" float __wrap_log2f(float x)
{
Expand Down

0 comments on commit c251de5

Please sign in to comment.