aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfnn-aarch64.c
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2013-09-25 17:55:05 +0000
committerAndrew Pinski <apinski@cavium.com>2013-09-25 17:55:05 +0000
commit4e8516b2d98ff0bf08862b7f8b628c6b40623181 (patch)
treeaa2652d0c2d55243b740586c0d036b25e836cb2c /bfd/elfnn-aarch64.c
parent7d760051ffb8a23cdc51342d4e6243fbc462f73f (diff)
downloadgdb-4e8516b2d98ff0bf08862b7f8b628c6b40623181.zip
gdb-4e8516b2d98ff0bf08862b7f8b628c6b40623181.tar.gz
gdb-4e8516b2d98ff0bf08862b7f8b628c6b40623181.tar.bz2
2013-08-25 Andrew Pinski <apinski@cavium.com>
* elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a fixed size of 16.
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r--bfd/elfnn-aarch64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index bd5f0bf..26968ab 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -1666,8 +1666,8 @@ _aarch64_elf_section_data;
#define elf_aarch64_section_data(sec) \
((_aarch64_elf_section_data *) elf_section_data (sec))
-/* The size of the thread control block. */
-#define TCB_SIZE 16
+/* The size of the thread control block which is defined to be two pointers. */
+#define TCB_SIZE (ARCH_SIZE/8)*2
struct elf_aarch64_local_symbol
{