summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-05-22 17:23:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-05-22 17:23:34 +0000
commit8f145c77123a565b816f918969e0e35ee5b89153 (patch)
treeae1dc3acbcdef14499350a44c6387b1e1533a8fd
parent3d6302a5467035077ecfe02cdb73d3d467a9e004 (diff)
downloadglibc-8f145c77123a565b816f918969e0e35ee5b89153.tar.gz
Remove sysdeps/aarch64/soft-fp directory.
As per <https://sourceware.org/ml/libc-alpha/2014-10/msg00369.html>, there should not be separate sysdeps/<arch>/soft-fp directories when those are used by all configurations that use sysdeps/<arch>, and, more generally, should not be sysdeps/foo/Implies files pointing to a subdirectory foo/bar. This patch eliminates the sysdeps/aarch64/soft-fp directory accordingly, merging its contents into sysdeps/aarch64. Tested with build-many-glibcs.py that installed stripped shared libraries for aarch64 configurations are unchanged by this patch. * sysdeps/aarch64/Implies: Remove aarch64/soft-fp. * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from .... * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file. * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to .... * sysdeps/aarch64/e_sqrtl.c: ... here. * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to .... * sysdeps/aarch64/sfp-machine.h: ... here.
-rw-r--r--ChangeLog9
-rw-r--r--sysdeps/aarch64/Implies1
-rw-r--r--sysdeps/aarch64/Makefile4
-rw-r--r--sysdeps/aarch64/e_sqrtl.c (renamed from sysdeps/aarch64/soft-fp/e_sqrtl.c)0
-rw-r--r--sysdeps/aarch64/sfp-machine.h (renamed from sysdeps/aarch64/soft-fp/sfp-machine.h)0
-rw-r--r--sysdeps/aarch64/soft-fp/Makefile3
6 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f11b1c2bc3..252b0993dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2018-05-22 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
+ * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
+ -I../soft-fp. Moved from ....
+ * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
+ * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
+ * sysdeps/aarch64/e_sqrtl.c: ... here.
+ * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
+ * sysdeps/aarch64/sfp-machine.h: ... here.
+
* sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
-Wmaybe-uninitialized around access to fq[0].
* sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
diff --git a/sysdeps/aarch64/Implies b/sysdeps/aarch64/Implies
index e5adf4d63c..a1d5e2e742 100644
--- a/sysdeps/aarch64/Implies
+++ b/sysdeps/aarch64/Implies
@@ -3,4 +3,3 @@ ieee754/ldbl-128
ieee754/dbl-64/wordsize-64
ieee754/dbl-64
ieee754/flt-32
-aarch64/soft-fp
diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile
index 5f3e20371a..94baaf52dd 100644
--- a/sysdeps/aarch64/Makefile
+++ b/sysdeps/aarch64/Makefile
@@ -12,3 +12,7 @@ endif
ifeq ($(subdir),gmon)
CFLAGS-mcount.c += -mgeneral-regs-only
endif
+
+ifeq ($(subdir),math)
+CPPFLAGS += -I../soft-fp
+endif
diff --git a/sysdeps/aarch64/soft-fp/e_sqrtl.c b/sysdeps/aarch64/e_sqrtl.c
index 1dc1cbf003..1dc1cbf003 100644
--- a/sysdeps/aarch64/soft-fp/e_sqrtl.c
+++ b/sysdeps/aarch64/e_sqrtl.c
diff --git a/sysdeps/aarch64/soft-fp/sfp-machine.h b/sysdeps/aarch64/sfp-machine.h
index 3e969952fa..3e969952fa 100644
--- a/sysdeps/aarch64/soft-fp/sfp-machine.h
+++ b/sysdeps/aarch64/sfp-machine.h
diff --git a/sysdeps/aarch64/soft-fp/Makefile b/sysdeps/aarch64/soft-fp/Makefile
deleted file mode 100644
index ada13e8b70..0000000000
--- a/sysdeps/aarch64/soft-fp/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(subdir),math)
-CPPFLAGS += -I../soft-fp
-endif