about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2018-06-28 13:57:50 +0530
committerRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2018-06-28 13:57:50 +0530
commit86a0f56158bd9cbaf2d640e2e6c66539f4cbbcc1 (patch)
tree11f70f1a9c1badc074d95599eb4f58733e48fac6 /sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c
parent780684eb04298977bc411ebca1eadeeba4877833 (diff)
downloadglibc-86a0f56158bd9cbaf2d640e2e6c66539f4cbbcc1.tar.gz
glibc-86a0f56158bd9cbaf2d640e2e6c66539f4cbbcc1.tar.xz
glibc-86a0f56158bd9cbaf2d640e2e6c66539f4cbbcc1.zip
ldbl-128ibm-compat: Introduce ieee128 symbols
This patch adds __*ieee128 symbols for strfrom, strtold, strtold_l, wcstold
and wcstold_l functions.  Redirection from *l to *ieee128 will be handled
in separate patch once we start building these new files.

2018-06-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>

	* sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
	 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
	* sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
	* sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
	* sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
	* sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
	* sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c b/sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c
new file mode 100644
index 0000000000..0cbdc2bc27
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c
@@ -0,0 +1,20 @@
+/* Definition of strtof128.
+   Copyright (C) 2018 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#include "../float128/strtof128.c"
+weak_alias (strtof128, __strtoieee128)