aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-09-15 13:05:39 +0100
committerYao Qi <yao.qi@linaro.org>2017-09-15 13:05:39 +0100
commit8d20070632b608587f372cf2d36ead339487e49c (patch)
treeb8961d750bd5d29b7b6be9952e67054e16eab6b3 /gdb/configure.tgt
parent8fd138c43b3a820e1d7deec80c9290b458f09d63 (diff)
downloadgdb-8d20070632b608587f372cf2d36ead339487e49c.zip
gdb-8d20070632b608587f372cf2d36ead339487e49c.tar.gz
gdb-8d20070632b608587f372cf2d36ead339487e49c.tar.bz2
Fix x86 build failures
Christophe Lyon told me that GDB build failed on i386-linux with --enable-64-bit-bfd=yes, so I audit the gdb/configure.tgt again. I find that i386-darwin has the same issue too. Additionally, GDB for solaris target fails to build too. This patch fixes all of them. gdb: 2017-09-15 Yao Qi <yao.qi@linaro.org> * configure.tgt (i[34567]86-*-darwin*): Append amd64.o to gdb_target_obs. (i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*): Likewise. (i[34567]86-*-linux*): Likewise.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 9d9ef4b..2e69e1d 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -193,7 +193,7 @@ i[34567]86-*-darwin*)
i386-darwin-tdep.o solib-darwin.o"
if test "x$enable_64_bit_bfd" = "xyes"; then
# Target: GNU/Linux x86-64
- gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
+ gdb_target_obs="amd64-tdep.o amd64.o amd64-darwin-tdep.o ${gdb_target_obs}"
fi
;;
i[34567]86-*-dicos*)
@@ -224,7 +224,7 @@ i[34567]86-*-nto*)
;;
i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
# Target: Solaris x86_64
- gdb_target_obs="i386-tdep.o i386.o i387-tdep.o amd64-tdep.o \
+ gdb_target_obs="i386-tdep.o i386.o i387-tdep.o amd64-tdep.o amd64.o \
amd64-sol2-tdep.o i386-sol2-tdep.o sol2-tdep.o \
solib-svr4.o"
;;
@@ -241,7 +241,7 @@ i[34567]86-*-linux*)
linux-tdep.o linux-record.o"
if test "x$enable_64_bit_bfd" = "xyes"; then
# Target: GNU/Linux x86-64
- gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
+ gdb_target_obs="amd64-tdep.o amd64.o amd64-linux-tdep.o ${gdb_target_obs}"
fi
build_gdbserver=yes
;;