ldbl-128ibm-compat: Add obstack printing functions
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Thu, 11 Jul 2019 14:47:47 +0000 (11:47 -0300)
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Wed, 27 Nov 2019 18:52:41 +0000 (15:52 -0300)
commit590ef889bc7afe42d4feec94e1c4fbd4ddd65226
tree73fa4b5f39f63a91c8232df0789b36716fffc075
parentff3cb5accb80471df69fac2c0dded9cab794220a
ldbl-128ibm-compat: Add obstack printing functions

Similarly to the functions from the *printf family, this patch adds
implementations for __obstack_*printf* functions that set the
'mode_flags' parameter to PRINTF_LDBL_USES_FLOAT128, before making calls
to __vfprintf_internal (indirectly through __obstack_vprintf_internal).

Tested for powerpc64le.

Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
12 files changed:
sysdeps/ieee754/ldbl-128ibm-compat/Makefile
sysdeps/ieee754/ldbl-128ibm-compat/Versions
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-obprintf.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-obstack_chk.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vobstack_chk.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-obstack-chk-ibm128.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-obstack-chk-ieee128.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-obstack-chk-ldbl-compat.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-obstack-ibm128.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-obstack-ieee128.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-obstack-ldbl-compat-template.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/test-obstack-ldbl-compat.c [new file with mode: 0644]