]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: Add svr4-tls-tdep.o to list of objects of i*86 targets
authorSergio Durigan Junior <sergiodj@sergiodj.net>
Sun, 7 Sep 2025 21:57:09 +0000 (17:57 -0400)
committerSergio Durigan Junior <sergiodj@sergiodj.net>
Mon, 8 Sep 2025 18:34:09 +0000 (14:34 -0400)
commitb318480f27322c15c6b10c1bab4418e81d44b77e
treece0b1b562abdb0daa6bf750917fa637eabe50517
parent8b50cc76f19d129b3887dbcb58f8286a7b36099f
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
gdb/configure.tgt