From: Marcus Shawcroft Date: Thu, 7 Feb 2013 10:49:29 +0000 (+0000) Subject: Enable TLS support in aarch64-linux-tdep.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45e25a3641eda4ba1d973729ac7dbd5c66bab99b;p=binutils-gdb.git Enable TLS support in aarch64-linux-tdep.c 2013-02-07 Marcus Shawcroft * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call set_gdbarch_fetch_tls_load_module_address. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32f0c49293f..50e54453ae2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-02-07 Marcus Shawcroft + + * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call + set_gdbarch_fetch_tls_load_module_address. + 2013-02-06 David S. Miller * sparc-tdep.c (sparc32_return_value): Handle writing return value when diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c index 1622a43a992..3055a0ae61c 100644 --- a/gdb/aarch64-linux-tdep.c +++ b/gdb/aarch64-linux-tdep.c @@ -273,6 +273,10 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_lp64_fetch_link_map_offsets); + /* Enable TLS support. */ + set_gdbarch_fetch_tls_load_module_address (gdbarch, + svr4_fetch_objfile_link_map); + /* Shared library handling. */ set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);