This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [GDBserver] Move aarch64-insn.o to arch/ and remove one Makefile rule
- From: Yao Qi <qiyao at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 17 Oct 2017 11:17:12 -0000
- Subject: [binutils-gdb] [GDBserver] Move aarch64-insn.o to arch/ and remove one Makefile rule
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7a7cdfa04b0225dfa6879384075e08d73eaee862
commit 7a7cdfa04b0225dfa6879384075e08d73eaee862
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Oct 17 12:12:04 2017 +0100
[GDBserver] Move aarch64-insn.o to arch/ and remove one Makefile rule
gdb/gdbserver:
2017-10-17 Yao Qi <yao.qi@linaro.org>
* Makefile.in: Remove one rule.
* configure.srv: Rename aarch64-insn.o with arch/aarch64-insn.o.
Diff:
---
gdb/gdbserver/ChangeLog | 5 +++++
gdb/gdbserver/Makefile.in | 4 ----
gdb/gdbserver/configure.srv | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index df481cb..350843e 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
2017-10-17 Yao Qi <yao.qi@linaro.org>
+ * Makefile.in: Remove one rule.
+ * configure.srv: Rename aarch64-insn.o with arch/aarch64-insn.o.
+
+2017-10-17 Yao Qi <yao.qi@linaro.org>
+
* configure.srv: Rename arm-linux.o with arch/arm-linux.o.
Rename arm-get-next-pcs.o with arch/arm-get-next-pcs.o.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index eff6fa5..8e73563 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -581,10 +581,6 @@ arch/%.o: ../arch/%.c
$(COMPILE) $<
$(POSTCOMPILE)
-%.o: ../arch/%.c
- $(COMPILE) $<
- $(POSTCOMPILE)
-
%.o: ../common/%.c
$(COMPILE) $<
$(POSTCOMPILE)
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index d1b08cf..515c6dc 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -56,7 +56,7 @@ case "${target}" in
srv_tgtobj="$srv_tgtobj linux-aarch32-low.o"
srv_tgtobj="${srv_tgtobj} arch/arm.o"
srv_tgtobj="$srv_tgtobj aarch64-linux.o"
- srv_tgtobj="$srv_tgtobj aarch64-insn.o"
+ srv_tgtobj="$srv_tgtobj arch/aarch64-insn.o"
srv_tgtobj="${srv_tgtobj} $srv_linux_obj"
srv_xmlfiles="aarch64.xml"
srv_xmlfiles="${srv_xmlfiles} aarch64-core.xml"