diff options
author | Marcus Shawcroft <mshawcroft@sourceware.org> | 2013-02-07 10:49:29 +0000 |
---|---|---|
committer | Marcus Shawcroft <mshawcroft@sourceware.org> | 2013-02-07 10:49:29 +0000 |
commit | 45e25a3641eda4ba1d973729ac7dbd5c66bab99b (patch) | |
tree | b0099e4e394a82a9723fc364c7613558077adcef | |
parent | 55fac6e0501298d3140968078e31a1b1a85bd4d0 (diff) | |
download | gdb-45e25a3641eda4ba1d973729ac7dbd5c66bab99b.zip gdb-45e25a3641eda4ba1d973729ac7dbd5c66bab99b.tar.gz gdb-45e25a3641eda4ba1d973729ac7dbd5c66bab99b.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/aarch64-linux-tdep.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32f0c49..50e5445 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c index 1622a43..3055a0a 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); |