glibc/sysdeps/ieee754/ldbl-128ibm-compat
Gabriel F. T. Gomes 329037cead ldbl-128ibm-compat: Add wide character, fortified printing functions
Similarly to what was done for the regular character, fortified printing
functions, this patch combines the mode masks PRINTF_LDBL_USES_FLOAT128
and PRINTF_FORTIFY to provide wide character versions of fortified
printf functions.  It also adds two flavors of test cases: one that
explicitly calls the fortified functions, and another that reuses the
non-fortified test, but defining _FORTIFY_SOURCE as 2.  The first
guarantees that the implementations are actually being tested
(independently of what's in bits/wchar2.h), whereas the second
guarantees that the redirections calls the correct function in the IBM
and IEEE long double cases.

Tested for powerpc64le.

Reviewed-By: Paul E. Murphy <murphyp@linux.ibm.com>
2019-11-22 18:12:27 -03:00
..
ieee128-asprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-asprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-dprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-dprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-fprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-fprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-fwprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-fwprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-printf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-printf_size.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ieee128-printf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-snprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-snprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-sprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-sprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-swprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-swprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-vasprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vasprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vdprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vdprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vfprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vfprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vfwprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-vfwprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-vprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vsnprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vsnprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vsprintf_chk.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
ieee128-vsprintf.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
ieee128-vswprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-vswprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-vwprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-vwprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
ieee128-wprintf_chk.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
ieee128-wprintf.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
libm-alias-float128.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
strfromf128.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strtof128_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strtof128.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-printf-chk-ibm128.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-chk-ieee128.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-chk-ldbl-compat.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-chk-redir-ibm128.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-chk-redir-ieee128.c ldbl-128ibm-compat: Add regular character, fortified printing functions 2019-11-22 18:11:49 -03:00
test-printf-ibm128.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
test-printf-ieee128.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
test-printf-ldbl-compat.c ldbl-128ibm-compat: Add regular character printing functions 2019-11-22 18:10:52 -03:00
test-printf-size-ibm128.c ldbl-128ibm-compat: Add printf_size 2018-07-02 10:51:01 -03:00
test-printf-size-ieee128.c ldbl-128ibm-compat: Add printf_size 2018-07-02 10:51:01 -03:00
test-wprintf-chk-ibm128.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-chk-ieee128.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-chk-ldbl-compat.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-chk-redir-ibm128.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-chk-redir-ieee128.c ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
test-wprintf-ibm128.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
test-wprintf-ieee128.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
test-wprintf-ldbl-compat.c ldbl-128ibm-compat: Add wide character printing functions 2019-11-22 18:11:38 -03:00
Versions ldbl-128ibm-compat: Add wide character, fortified printing functions 2019-11-22 18:12:27 -03:00
wcstof128_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
wcstof128.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00