[GDBserver][AArch64] Remove references to aarch64-without-fpu.xml.
authorPedro Alves <palves@redhat.com>
Tue, 28 May 2013 10:41:17 +0000 (10:41 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 28 May 2013 10:41:17 +0000 (10:41 +0000)
The GDBserver Aarch64 port includes the aarch64-without-fpu
description in the build, but doesn't actually use it anywhere.  As
Linux always requires an FPU, just remove the dead code.

gdb/gdbserver/
2013-05-28  Pedro Alves  <palves@redhat.com>

* Makefile.in (clean): Remove reference to aarch64-without-fpu.c.
(aarch64-without-fpu.c): Delete rule.
* configure.srv (aarch64*-*-linux*): Remove references to
aarch64-without-fpu.o and aarch64-without-fpu.xml.
* linux-aarch64-low.c (init_registers_aarch64_without_fpu): Remove
declaration.

gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/configure.srv
gdb/gdbserver/linux-aarch64-low.c

index f050bfa4033be1766e438c56e272e5d1d4dc7ee1..bbdac13fc6e634c0d56e41a2c85405102ca68e10 100644 (file)
@@ -1,3 +1,12 @@
+2013-05-28  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (clean): Remove reference to aarch64-without-fpu.c.
+       (aarch64-without-fpu.c): Delete rule.
+       * configure.srv (aarch64*-*-linux*): Remove references to
+       aarch64-without-fpu.o and aarch64-without-fpu.xml.
+       * linux-aarch64-low.c (init_registers_aarch64_without_fpu): Remove
+       declaration.
+
 2013-05-24  Pedro Alves  <palves@redhat.com>
 
        * server.c (handle_v_cont) <vCont;r>: Use unpack_varlen_hex
index 9b1771f8b6fab3b7557c88be652e7ede7c8c7487..c7ff4c6727a9b6df427708420a0bac4e08d02fe8 100644 (file)
@@ -316,7 +316,7 @@ clean:
        rm -f version.c
        rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
        rm -f $(IPA_LIB)
-       rm -f aarch64.c aarch64-without-fpu.c
+       rm -f aarch64.c
        rm -f reg-arm.c reg-bfin.c i386.c reg-ia64.c reg-m32r.c reg-m68k.c
        rm -f reg-sh.c reg-sparc.c reg-spu.c amd64.c i386-linux.c
        rm -f reg-cris.c reg-crisv32.c amd64-linux.c reg-xtensa.c
@@ -569,8 +569,6 @@ win32_low_h = $(srcdir)/win32-low.h
 
 aarch64.c : $(srcdir)/../regformats/aarch64.dat $(regdat_sh)
        $(SHELL) $(regdat_sh) $(srcdir)/../regformats/aarch64.dat aarch64.c
-aarch64-without-fpu.c : $(srcdir)/../regformats/aarch64-without-fpu.dat $(regdat_sh)
-       $(SHELL) $(regdat_sh) $(srcdir)/../regformats/aarch64-without-fpu.dat aarch64-without-fpu.c
 reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
        $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c
 arm-with-iwmmxt.c : $(srcdir)/../regformats/arm-with-iwmmxt.dat $(regdat_sh)
index 9344b172bd51653906232dd9a3f81c391b2c98a3..879d0de536245f8902c07af1131f475485c293d1 100644 (file)
@@ -43,7 +43,7 @@ srv_amd64_linux_xmlfiles="i386/amd64-linux.xml i386/amd64-avx-linux.xml i386/64b
 
 case "${target}" in
   aarch64*-*-linux*)
-                       srv_regobj="aarch64.o aarch64-without-fpu.o"
+                       srv_regobj="aarch64.o"
                        srv_tgtobj="linux-aarch64-low.o"
                        srv_tgtobj="${srv_tgtobj} linux-low.o"
                        srv_tgtobj="${srv_tgtobj} linux-osdata.o"
@@ -52,7 +52,6 @@ case "${target}" in
                        srv_xmlfiles="aarch64.xml"
                        srv_xmlfiles="${srv_xmlfiles} aarch64-core.xml"
                        srv_xmlfiles="${srv_xmlfiles} aarch64-fpu.xml"
-                       srv_xmlfiles="${srv_xmlfiles} aarch64-without-fpu.xml"
                        srv_linux_usrregs=yes
                        srv_linux_regsets=yes
                        srv_linux_thread_db=yes
index 9dcfc55faa4c1ebb9a9ce1ee2bf7a7b1bd8e913f..cdf9cfd1e9978b52dddf54a4bebd50e48f0691b9 100644 (file)
@@ -33,9 +33,6 @@
 /* Defined in auto-generated files.  */
 void init_registers_aarch64 (void);
 
-/* Defined in auto-generated files.  */
-void init_registers_aarch64_without_fpu (void);
-
 #ifdef HAVE_SYS_REG_H
 #include <sys/reg.h>
 #endif