From: Andrew Pinski Date: Wed, 25 Sep 2013 17:55:05 +0000 (+0000) Subject: 2013-08-25 Andrew Pinski X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e8516b2d98ff0bf08862b7f8b628c6b40623181;p=binutils-gdb.git 2013-08-25 Andrew Pinski * elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a fixed size of 16. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 335bc7f06e2..25f41c740f6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-08-25 Andrew Pinski + + * elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a + fixed size of 16. + 2013-09-24 Gregory Fong * elfxx-mips.c (mips_elf_create_got_section): Hide diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index bd5f0bf695b..26968ab131e 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 {