00db10
commit b1b8f5d89d06a994773e22ad4b7fe1036b37f8ab
00db10
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
00db10
Date:   Thu Apr 14 12:21:53 2016 +0200
00db10
00db10
    Fix strfmon_l: Use specified locale for number formatting [BZ #19633]
00db10
    
00db10
    The commit 985fc132f23dbb83de76c5af9e783ef1b5900148
00db10
    "strfmon_l: Use specified locale for number formatting [BZ #19633]"
00db10
    introduced an elf/check-abi-libc testfailure due to __printf_fp_l
00db10
    on architectures which use sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h.
00db10
    
00db10
    This patch uses libc_hidden_def instead of ldbl_hidden_def.
00db10
    The ldbl_strong_alias is removed due to the rename of ___printf_fp_l
00db10
    to __printf_fp_l.
00db10
    
00db10
    ChangeLog:
00db10
    
00db10
            * stdio-common/printf_fp.c (__printf_fp_l):
00db10
            Rename ___printf_fp_l to __printf_fp_l and
00db10
            remove strong alias. Use libc_hidden_def instead
00db10
            of ldbl_hidden_def macro.
00db10
00db10
Index: b/stdio-common/printf_fp.c
00db10
===================================================================
00db10
--- a/stdio-common/printf_fp.c
00db10
+++ b/stdio-common/printf_fp.c
00db10
@@ -153,9 +153,9 @@ static wchar_t *group_number (wchar_t *b
00db10
 
00db10
 
00db10
 int
00db10
-___printf_fp_l (FILE *fp, locale_t loc,
00db10
-		const struct printf_info *info,
00db10
-		const void *const *args)
00db10
+__printf_fp_l (FILE *fp, locale_t loc,
00db10
+	       const struct printf_info *info,
00db10
+	       const void *const *args)
00db10
 {
00db10
   /* The floating-point value to output.  */
00db10
   union
00db10
@@ -1247,14 +1247,13 @@ ___printf_fp_l (FILE *fp, locale_t loc,
00db10
   }
00db10
   return done;
00db10
 }
00db10
-ldbl_hidden_def (___printf_fp_l, __printf_fp_l)
00db10
-ldbl_strong_alias (___printf_fp_l, __printf_fp_l)
00db10
+libc_hidden_def (__printf_fp_l)
00db10
 
00db10
 int
00db10
 ___printf_fp (FILE *fp, const struct printf_info *info,
00db10
 	      const void *const *args)
00db10
 {
00db10
-  return ___printf_fp_l (fp, _NL_CURRENT_LOCALE, info, args);
00db10
+  return __printf_fp_l (fp, _NL_CURRENT_LOCALE, info, args);
00db10
 }
00db10
 ldbl_hidden_def (___printf_fp, __printf_fp)
00db10
 ldbl_strong_alias (___printf_fp, __printf_fp)