eb2c347
diff -rup ../binutils-2.20.51.0.2.original/bfd/elf32-i386.c ./bfd/elf32-i386.c
eb2c347
--- ../binutils-2.20.51.0.2.original/bfd/elf32-i386.c	2010-01-13 16:01:28.000000000 +0000
eb2c347
+++ ./bfd/elf32-i386.c	2010-02-02 13:07:58.000000000 +0000
eb2c347
@@ -653,19 +653,8 @@ struct elf_i386_link_hash_table
eb2c347
   asection *sdynbss;
eb2c347
   asection *srelbss;
eb2c347
 
eb2c347
-  /* The (unloaded but important) .rel.plt.unloaded section on VxWorks.  */
eb2c347
-  asection *srelplt2;
eb2c347
-
eb2c347
-  /* True if the target system is VxWorks.  */
eb2c347
-  int is_vxworks;
eb2c347
-
eb2c347
-  /* Value used to fill the last word of the first plt entry.  */
eb2c347
-  bfd_byte plt0_pad_byte;
eb2c347
-
eb2c347
-  /* The index of the next unused R_386_TLS_DESC slot in .rel.plt.  */
eb2c347
-  bfd_vma next_tls_desc_index;
eb2c347
-
eb2c347
-  union {
eb2c347
+  union
eb2c347
+  {
eb2c347
     bfd_signed_vma refcount;
eb2c347
     bfd_vma offset;
eb2c347
   } tls_ldm_got;
eb2c347
@@ -682,10 +671,22 @@ struct elf_i386_link_hash_table
eb2c347
 
eb2c347
   /* Used by local STT_GNU_IFUNC symbols.  */
eb2c347
   htab_t loc_hash_table;
eb2c347
-  void *loc_hash_memory;
eb2c347
+  void * loc_hash_memory;
eb2c347
 
eb2c347
   asection *sdynsharablebss;
eb2c347
   asection *srelsharablebss;
eb2c347
+  
eb2c347
+  /* The (unloaded but important) .rel.plt.unloaded section on VxWorks.  */
eb2c347
+  asection *srelplt2;
eb2c347
+
eb2c347
+  /* True if the target system is VxWorks.  */
eb2c347
+  int is_vxworks;
eb2c347
+
eb2c347
+  /* The index of the next unused R_386_TLS_DESC slot in .rel.plt.  */
eb2c347
+  bfd_vma next_tls_desc_index;
eb2c347
+
eb2c347
+  /* Value used to fill the last word of the first PLT entry.  */
eb2c347
+  bfd_byte plt0_pad_byte;
eb2c347
 };
eb2c347
 
eb2c347
 /* Get the i386 ELF linker hash table from a link_info structure.  */
eb2c347
diff -rup ../binutils-2.20.51.0.2.original/bfd/elf64-x86-64.c ./bfd/elf64-x86-64.c
eb2c347
--- ../binutils-2.20.51.0.2.original/bfd/elf64-x86-64.c	2010-01-13 16:01:27.000000000 +0000
eb2c347
+++ ./bfd/elf64-x86-64.c	2010-02-02 13:15:52.000000000 +0000
eb2c347
@@ -470,16 +470,8 @@ struct elf64_x86_64_link_hash_table
eb2c347
   asection *sdynbss;
eb2c347
   asection *srelbss;
eb2c347
 
eb2c347
-  /* The offset into splt of the PLT entry for the TLS descriptor
eb2c347
-     resolver.  Special values are 0, if not necessary (or not found
eb2c347
-     to be necessary yet), and -1 if needed but not determined
eb2c347
-     yet.  */
eb2c347
-  bfd_vma tlsdesc_plt;
eb2c347
-  /* The offset into sgot of the GOT entry used by the PLT entry
eb2c347
-     above.  */
eb2c347
-  bfd_vma tlsdesc_got;
eb2c347
-
eb2c347
-  union {
eb2c347
+  union
eb2c347
+  {
eb2c347
     bfd_signed_vma refcount;
eb2c347
     bfd_vma offset;
eb2c347
   } tls_ld_got;
eb2c347
@@ -495,10 +487,19 @@ struct elf64_x86_64_link_hash_table
eb2c347
 
eb2c347
   /* Used by local STT_GNU_IFUNC symbols.  */
eb2c347
   htab_t loc_hash_table;
eb2c347
-  void *loc_hash_memory;
eb2c347
+  void * loc_hash_memory;
eb2c347
 
eb2c347
   asection *sdynsharablebss;
eb2c347
   asection *srelsharablebss;
eb2c347
+  
eb2c347
+  /* The offset into splt of the PLT entry for the TLS descriptor
eb2c347
+     resolver.  Special values are 0, if not necessary (or not found
eb2c347
+     to be necessary yet), and -1 if needed but not determined
eb2c347
+     yet.  */
eb2c347
+  bfd_vma tlsdesc_plt;
eb2c347
+  /* The offset into sgot of the GOT entry used by the PLT entry
eb2c347
+     above.  */
eb2c347
+  bfd_vma tlsdesc_got;
eb2c347
 };
eb2c347
 
eb2c347
 /* Get the x86-64 ELF linker hash table from a link_info structure.  */