mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Fix strfmon_l: Use specified locale for number formatting [BZ #19633]
The commit 985fc132f2
"strfmon_l: Use specified locale for number formatting [BZ #19633]"
introduced an elf/check-abi-libc testfailure due to __printf_fp_l
on architectures which use sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h.
This patch uses libc_hidden_def instead of ldbl_hidden_def.
The ldbl_strong_alias is removed due to the rename of ___printf_fp_l
to __printf_fp_l.
ChangeLog:
* stdio-common/printf_fp.c (__printf_fp_l):
Rename ___printf_fp_l to __printf_fp_l and
remove strong alias. Use libc_hidden_def instead
of ldbl_hidden_def macro.
This commit is contained in:
parent
8a727af925
commit
b1b8f5d89d
2 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
* stdio-common/printf_fp.c (__printf_fp_l):
|
||||||
|
Rename ___printf_fp_l to __printf_fp_l and
|
||||||
|
remove strong alias. Use libc_hidden_def instead
|
||||||
|
of ldbl_hidden_def macro.
|
||||||
|
|
||||||
2016-04-14 Florian Weimer <fweimer@redhat.com>
|
2016-04-14 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
Remove malloc hooks from fork handler. They are no longer needed
|
Remove malloc hooks from fork handler. They are no longer needed
|
||||||
|
|
|
@ -209,7 +209,7 @@ hack_digit (struct hack_digit_param *p)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
___printf_fp_l (FILE *fp, locale_t loc,
|
__printf_fp_l (FILE *fp, locale_t loc,
|
||||||
const struct printf_info *info,
|
const struct printf_info *info,
|
||||||
const void *const *args)
|
const void *const *args)
|
||||||
{
|
{
|
||||||
|
@ -1248,14 +1248,13 @@ ___printf_fp_l (FILE *fp, locale_t loc,
|
||||||
}
|
}
|
||||||
return done;
|
return done;
|
||||||
}
|
}
|
||||||
ldbl_hidden_def (___printf_fp_l, __printf_fp_l)
|
libc_hidden_def (__printf_fp_l)
|
||||||
ldbl_strong_alias (___printf_fp_l, __printf_fp_l)
|
|
||||||
|
|
||||||
int
|
int
|
||||||
___printf_fp (FILE *fp, const struct printf_info *info,
|
___printf_fp (FILE *fp, const struct printf_info *info,
|
||||||
const void *const *args)
|
const void *const *args)
|
||||||
{
|
{
|
||||||
return ___printf_fp_l (fp, _NL_CURRENT_LOCALE, info, args);
|
return __printf_fp_l (fp, _NL_CURRENT_LOCALE, info, args);
|
||||||
}
|
}
|
||||||
ldbl_hidden_def (___printf_fp, __printf_fp)
|
ldbl_hidden_def (___printf_fp, __printf_fp)
|
||||||
ldbl_strong_alias (___printf_fp, __printf_fp)
|
ldbl_strong_alias (___printf_fp, __printf_fp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue