Skip to content

Commit

Permalink
tile: define __NO_LONG_DOUBLE_MATH
Browse files Browse the repository at this point in the history
This avoids build failures in the tests, and matches what is in
bits/mathdef.h.

Update the libc and libm abilist files to include __finitel,
__isinfl, and __isnanl.
  • Loading branch information
Chris Metcalf committed Nov 24, 2015
1 parent 87d0eec commit 6a4448a
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>

* sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
__finitel, __isinfl, and __isnanl.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
__finitel.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.

2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>

* malloc/memusage.c (me): Remove redundant getenv call.
Expand Down
6 changes: 6 additions & 0 deletions sysdeps/tile/bits/mathdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,9 @@ typedef double double_t;
# endif

#endif /* ISO C99 */

#ifndef __NO_LONG_DOUBLE_MATH
/* Signal that we do not really have a `long double'. This disables the
declaration of all the `long double' function variants. */
# define __NO_LONG_DOUBLE_MATH 1
#endif
3 changes: 3 additions & 0 deletions sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ GLIBC_2.12 __fgetws_chk F
GLIBC_2.12 __fgetws_unlocked_chk F
GLIBC_2.12 __finite F
GLIBC_2.12 __finitef F
GLIBC_2.12 __finitel F
GLIBC_2.12 __flbf F
GLIBC_2.12 __fork F
GLIBC_2.12 __fpending F
Expand Down Expand Up @@ -227,9 +228,11 @@ GLIBC_2.12 __isdigit_l F
GLIBC_2.12 __isgraph_l F
GLIBC_2.12 __isinf F
GLIBC_2.12 __isinff F
GLIBC_2.12 __isinfl F
GLIBC_2.12 __islower_l F
GLIBC_2.12 __isnan F
GLIBC_2.12 __isnanf F
GLIBC_2.12 __isnanl F
GLIBC_2.12 __isoc99_fscanf F
GLIBC_2.12 __isoc99_fwscanf F
GLIBC_2.12 __isoc99_scanf F
Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ GLIBC_2.12 __clog10f F
GLIBC_2.12 __clog10l F
GLIBC_2.12 __finite F
GLIBC_2.12 __finitef F
GLIBC_2.12 __finitel F
GLIBC_2.12 __fpclassify F
GLIBC_2.12 __fpclassifyf F
GLIBC_2.12 __signbit F
Expand Down
3 changes: 3 additions & 0 deletions sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ GLIBC_2.12 __fgetws_chk F
GLIBC_2.12 __fgetws_unlocked_chk F
GLIBC_2.12 __finite F
GLIBC_2.12 __finitef F
GLIBC_2.12 __finitel F
GLIBC_2.12 __flbf F
GLIBC_2.12 __fork F
GLIBC_2.12 __fpending F
Expand Down Expand Up @@ -227,9 +228,11 @@ GLIBC_2.12 __isdigit_l F
GLIBC_2.12 __isgraph_l F
GLIBC_2.12 __isinf F
GLIBC_2.12 __isinff F
GLIBC_2.12 __isinfl F
GLIBC_2.12 __islower_l F
GLIBC_2.12 __isnan F
GLIBC_2.12 __isnanf F
GLIBC_2.12 __isnanl F
GLIBC_2.12 __isoc99_fscanf F
GLIBC_2.12 __isoc99_fwscanf F
GLIBC_2.12 __isoc99_scanf F
Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ GLIBC_2.12 __clog10f F
GLIBC_2.12 __clog10l F
GLIBC_2.12 __finite F
GLIBC_2.12 __finitef F
GLIBC_2.12 __finitel F
GLIBC_2.12 __fpclassify F
GLIBC_2.12 __fpclassifyf F
GLIBC_2.12 __signbit F
Expand Down
3 changes: 3 additions & 0 deletions sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ GLIBC_2.12 __fgetws_chk F
GLIBC_2.12 __fgetws_unlocked_chk F
GLIBC_2.12 __finite F
GLIBC_2.12 __finitef F
GLIBC_2.12 __finitel F
GLIBC_2.12 __flbf F
GLIBC_2.12 __fork F
GLIBC_2.12 __fpending F
Expand Down Expand Up @@ -227,9 +228,11 @@ GLIBC_2.12 __isdigit_l F
GLIBC_2.12 __isgraph_l F
GLIBC_2.12 __isinf F
GLIBC_2.12 __isinff F
GLIBC_2.12 __isinfl F
GLIBC_2.12 __islower_l F
GLIBC_2.12 __isnan F
GLIBC_2.12 __isnanf F
GLIBC_2.12 __isnanl F
GLIBC_2.12 __isoc99_fscanf F
GLIBC_2.12 __isoc99_fwscanf F
GLIBC_2.12 __isoc99_scanf F
Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ GLIBC_2.12 __clog10f F
GLIBC_2.12 __clog10l F
GLIBC_2.12 __finite F
GLIBC_2.12 __finitef F
GLIBC_2.12 __finitel F
GLIBC_2.12 __fpclassify F
GLIBC_2.12 __fpclassifyf F
GLIBC_2.12 __signbit F
Expand Down

0 comments on commit 6a4448a

Please sign in to comment.