2013-08-25 Andrew Pinski <apinski@cavium.com>
authorAndrew Pinski <apinski@cavium.com>
Wed, 25 Sep 2013 17:55:05 +0000 (17:55 +0000)
committerAndrew Pinski <apinski@cavium.com>
Wed, 25 Sep 2013 17:55:05 +0000 (17:55 +0000)
* elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a
fixed size of 16.

bfd/ChangeLog
bfd/elfnn-aarch64.c

index 335bc7f06e2587f87840208eac9e66d522ee655d..25f41c740f64ffdf136e65f19f2aa6b068b2c3e5 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2013-09-24  Gregory Fong  <gregory.0xf0@gmail.com>
 
        * elfxx-mips.c (mips_elf_create_got_section): Hide
index bd5f0bf695b627599a5d978bcb1f7372b913faec..26968ab131e2462f0f5d2fd9cc706dd3f2e282c3 100644 (file)
@@ -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
 {
This page took 0.044106 seconds and 4 git commands to generate.