diff options
author | Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> | 2019-07-11 11:47:30 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> | 2019-11-27 15:52:41 -0300 |
commit | a23ed314630aeb762dad274d2b446a39e26a8c0d (patch) | |
tree | 58d6f0017274ff82b69b90cfb0d8e93b07b040ad /sysdeps/ieee754/ldbl-128ibm-compat/Makefile | |
parent | 77607e7d44e255f83e4df55d55ecb52867a86f03 (diff) | |
download | glibc-a23ed314630aeb762dad274d2b446a39e26a8c0d.tar.gz glibc-a23ed314630aeb762dad274d2b446a39e26a8c0d.tar.xz glibc-a23ed314630aeb762dad274d2b446a39e26a8c0d.zip |
ldbl-128ibm-compat: Add err.h functions
Use the recently added, internal functions, __vwarnx_internal and __vwarn_internal, to provide err.h functions that can take long double arguments with IEEE binary128 format on platforms where long double can also take double format or some non-IEEE format (currently, this means powerpc64le). Tested for powerpc64le. Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm-compat/Makefile')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm-compat/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile index dc1ceaae7e..6bb0bed2fc 100644 --- a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile +++ b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile @@ -174,6 +174,10 @@ CFLAGS-tst-ieee128-argp.c += -mfloat128 -mabi=ieeelongdouble -Wno-psabi CFLAGS-tst-ibm128-argp.c += -mabi=ibmlongdouble -Wno-psabi endif +ifeq ($(subdir),misc) +ldbl-extra-routines += err +endif + # Add IEEE binary128 files as make targets. routines += $(foreach r,$(ldbl-extra-routines),ieee128-$(r)) |