Reformat elf_x86_64_create_dynamic_sections
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 3 Dec 2014 16:10:04 +0000 (08:10 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 3 Dec 2014 16:11:14 +0000 (08:11 -0800)
* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Reformat.

bfd/ChangeLog
bfd/elf64-x86-64.c

index 681759e..e6486e8 100644 (file)
@@ -1,3 +1,7 @@
+2014-12-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Reformat.
+
 2014-12-02  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf64-x86-64.c (elf_x86_64_relocate_section): Check
index fb27f0d..fef1d82 100644 (file)
@@ -1059,8 +1059,7 @@ elf_x86_64_create_dynamic_sections (bfd *dynobj,
   if (info->executable)
     {
       /* Always allow copy relocs for building executables.  */
-      asection *s;
-      s  = bfd_get_linker_section (dynobj, ".rela.bss");
+      asection *s = bfd_get_linker_section (dynobj, ".rela.bss");
       if (s == NULL)
        {
          const struct elf_backend_data *bed = get_elf_backend_data (dynobj);