Enable TLS support in aarch64-linux-tdep.c

2013-02-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
        set_gdbarch_fetch_tls_load_module_address.
This commit is contained in:
Marcus Shawcroft 2013-02-07 10:49:29 +00:00
parent 55fac6e050
commit 45e25a3641
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
* aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
set_gdbarch_fetch_tls_load_module_address.
2013-02-06 David S. Miller <davem@davemloft.net>
* sparc-tdep.c (sparc32_return_value): Handle writing return value when

View File

@ -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);