]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 681759ee183905c07471beb8a6530ca689209909..e6486e896c30b86434bcff3683b50ce5ba60ac52 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 fb27f0de2be21530596ad7868588bce88887c45c..fef1d8253356e9efc224d37ef3bb0fac69e274df 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);