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.
+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>.
# 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 \
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 \
;;
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