diff options
author | Sergio Durigan Junior <sergiodj@sergiodj.net> | 2025-09-07 17:57:09 -0400 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@sergiodj.net> | 2025-09-08 14:34:09 -0400 |
commit | b318480f27322c15c6b10c1bab4418e81d44b77e (patch) | |
tree | ce0b1b562abdb0daa6bf750917fa637eabe50517 /gdb | |
parent | 8b50cc76f19d129b3887dbcb58f8286a7b36099f (diff) | |
download | binutils-b318480f27322c15c6b10c1bab4418e81d44b77e.zip binutils-b318480f27322c15c6b10c1bab4418e81d44b77e.tar.gz binutils-b318480f27322c15c6b10c1bab4418e81d44b77e.tar.bz2 |
gdb: Add svr4-tls-tdep.o to list of objects of i*86 targets
GDB currently fails to build from source on i386 if compiled with
--enable-64-bit-bfd. This is happening because svr4-tls-tdep.o is
missing from the gdb_target_obs variable, while amd64-linux-tdep.o is
obviously there.
Fix the problem by adding svr4-tls-tdep.o to the object list, but only
when --enable-64-bit-bfd is provided.
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33399
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/configure.tgt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index f33d3de..34ae503 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -326,7 +326,7 @@ i[34567]86-*-linux*) arch/x86-linux-tdesc-features.o" if test "x$have_64_bit_bfd" = "xyes"; then # Target: GNU/Linux x86-64 - gdb_target_obs="amd64-linux-tdep.o \ + gdb_target_obs="amd64-linux-tdep.o svr4-tls-tdep.o \ arch/amd64-linux-tdesc.o ${gdb_target_obs}" fi ;; |