]> 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:40:41 +0000 (14:40 -0400)
commita625b48b956518d617054edaa283976366feee0f
treefb171236b38767f6836e5fc7f61918c2d139b393
parent8c2a0ecdaf156814d37e6b71d66a3fa371b8f70a
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>
Approved-By: Tom Tromey <tom@tromey.com>
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33399
(cherry picked from commit b318480f27322c15c6b10c1bab4418e81d44b77e)
gdb/configure.tgt