summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc/sparc32
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-14 12:32:50 +0000
committerRoland McGrath <roland@gnu.org>2006-01-14 12:32:50 +0000
commit52412049809da45dccba9f6e8d98d61ec7c024a2 (patch)
tree7ad08d38e72f678841c48b9de01e4c4e1fdaf5bb /sysdeps/unix/sysv/linux/sparc/sparc32
parentc6251f036c35bb358459e14617e4aba892b45213 (diff)
* sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file.
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h> to define LONG_DOUBLE_COMPAT_VERSION. Use that in place of NLDBL_VERSION. * sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc32')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/Versions5
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h8
2 files changed, 8 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/Versions b/sysdeps/unix/sysv/linux/sparc/sparc32/Versions
index 99458e85a7..c585af3602 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/Versions
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/Versions
@@ -21,8 +21,3 @@ libc {
posix_fadvise64; posix_fallocate64;
}
}
-
-/* This is used by sysdeps/ieee754/ldbl-opt/Versions. It gives the
- ABI version where long double == double was replaced with proper
- long double for libm *l functions and libc functions using long double. */
-%define NLDBL_VERSION GLIBC_2.4
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h b/sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h
new file mode 100644
index 0000000000..bd985cc59c
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h
@@ -0,0 +1,8 @@
+/* ABI version for long double switch.
+ This is used by the Versions and math_ldbl_opt.h files in
+ sysdeps/ieee754/ldbl-opt/. It gives the ABI version where
+ long double == double was replaced with proper long double
+ for libm *l functions and libc functions using long double. */
+
+#define NLDBL_VERSION GLIBC_2.4
+#define LONG_DOUBLE_COMPAT_VERSION GLIBC_2_4