From 35caceb145ff23340edcd67dd813bfd95f1ff6e6 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 7 Mar 2018 14:32:04 -0500 Subject: 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. --- sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h') 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 -- cgit 1.4.1