diff options
author | Zack Weinberg <zackw@panix.com> | 2018-03-07 14:32:04 -0500 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2018-12-05 18:15:43 -0200 |
commit | 35caceb145ff23340edcd67dd813bfd95f1ff6e6 (patch) | |
tree | 209f3266d7952709b5eea69d932fabca8d254174 /sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h | |
parent | 4e2f43f842ef5e253cc23383645adbaa03cedb86 (diff) | |
download | glibc-35caceb145ff23340edcd67dd813bfd95f1ff6e6.tar.gz glibc-35caceb145ff23340edcd67dd813bfd95f1ff6e6.tar.xz glibc-35caceb145ff23340edcd67dd813bfd95f1ff6e6.zip |
Use PRINTF_LDBL_IS_DBL instead of __ldbl_is_dbl.
After all that prep work, nldbl-compat.c can now use PRINTF_LDBL_IS_DBL instead of __no_long_double to control the behavior of printf-like functions; this is the last thing we needed __no_long_double for, so it can go away entirely. Tested for powerpc and powerpc64le.
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h')
-rw-r--r-- | sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h b/sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h index 1c49036f7b..cbe8156e39 100644 --- a/sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h +++ b/sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h @@ -40,10 +40,3 @@ weak_alias (local, symbol) # endif #endif - -#ifndef __ASSEMBLER__ -/* Set temporarily to non-zero if long double should be considered - the same as double. */ -extern __thread int __no_long_double attribute_tls_model_ie attribute_hidden; -# define __ldbl_is_dbl __builtin_expect (__no_long_double, 0) -#endif |