aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-10-06 14:07:29 +0100
committerYao Qi <yao.qi@linaro.org>2017-10-06 14:07:29 +0100
commit2081b2b2ca30d7c3b6464a3e167ce2c336c0465f (patch)
treef50c6ce5d6817f4bcd414413c31d265a0c7d0cd1
parente0d8f43169368abf354e596c7725dee1dd609cb8 (diff)
downloadfsf-binutils-gdb-2081b2b2ca30d7c3b6464a3e167ce2c336c0465f.zip
fsf-binutils-gdb-2081b2b2ca30d7c3b6464a3e167ce2c336c0465f.tar.gz
fsf-binutils-gdb-2081b2b2ca30d7c3b6464a3e167ce2c336c0465f.tar.bz2
Move i386.o to arch/i386.o
This patch changes the build that arch/i386.c is built to arch/i386.o, instead of i386.o. gdb: 2017-10-06 Yao Qi <yao.qi@linaro.org> * Makefile.in (ALL_TARGET_OBS): Rename i386.o to arch/i386.o. * configure.tgt (i386_tobjs): Replace i386.o with arch/i386.o.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/configure.tgt2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 559c3b8..fc19c8b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-06 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (ALL_TARGET_OBS): Rename i386.o to arch/i386.o.
+ * configure.tgt (i386_tobjs): Replace i386.o with arch/i386.o.
+
2017-10-06 Pedro Alves <palves@redhat.com>
* windows-nat.c: Include <algorithm>.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index b831ab6..c40cb76 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -793,6 +793,7 @@ ALL_64_TARGET_OBS = \
# All other target-dependent objects files (used with --enable-targets=all).
ALL_TARGET_OBS = \
arc-tdep.o \
+ arch/i386.o \
arm.o \
arm-bsd-tdep.o \
arm-get-next-pcs.o \
@@ -821,7 +822,6 @@ ALL_TARGET_OBS = \
hppa-nbsd-tdep.o \
hppa-obsd-tdep.o \
hppa-tdep.o \
- i386.o \
i386-bsd-tdep.o \
i386-cygwin-tdep.o \
i386-darwin-tdep.o \
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 96cc7ee..4b3be3f 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -36,7 +36,7 @@ case $targ in
;;
esac
-i386_tobjs="i386-tdep.o i386.o i387-tdep.o"
+i386_tobjs="i386-tdep.o arch/i386.o i387-tdep.o"
amd64_tobjs="amd64-tdep.o arch/amd64.o"
# Here are three sections to get a list of target specific object