Move i386.o to arch/i386.o
authorYao Qi <yao.qi@linaro.org>
Fri, 6 Oct 2017 13:07:29 +0000 (14:07 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 6 Oct 2017 13:07:29 +0000 (14:07 +0100)
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.

gdb/ChangeLog
gdb/Makefile.in
gdb/configure.tgt

index 559c3b8f48b918c2635c4108affc20232bb335a5..fc19c8b49c4c66e35646584f6de9424ddbfbc972 100644 (file)
@@ -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>.
index b831ab687b4d522fcf78af2d8c84ef3a87ee2d7a..c40cb762a332ada43188a943d87fc1f285fd54ab 100644 (file)
@@ -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 \
index 96cc7eedbe7c2d81ad4ca714c975b37cbba62078..4b3be3fb80009389a4f6548d7ffa0834fd7d97b2 100644 (file)
@@ -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