diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-12-03 08:10:04 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-12-03 08:10:04 -0800 |
commit | 9d157cb9fe73ff3d911ccdf581ab09eae02e78aa (patch) | |
tree | 2dcf84b90bf5c039dfb4d37ea7dfd7d594a7890b | |
parent | 1f98a0748c4dfae57a76c408501c938480c1173c (diff) | |
download | gdb-9d157cb9fe73ff3d911ccdf581ab09eae02e78aa.zip gdb-9d157cb9fe73ff3d911ccdf581ab09eae02e78aa.tar.gz gdb-9d157cb9fe73ff3d911ccdf581ab09eae02e78aa.tar.bz2 |
Reformat elf_x86_64_create_dynamic_sections
* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Reformat.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf64-x86-64.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f7caed5..61a8b2b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 8b0b8bf..566502f 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -1066,8 +1066,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); |