Reformat elf_x86_64_create_dynamic_sections

* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Reformat.
This commit is contained in:
H.J. Lu
2014-12-03 08:10:04 -08:00
parent 1f98a0748c
commit 9d157cb9fe
2 changed files with 5 additions and 2 deletions

View 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> 2014-12-02 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (elf_x86_64_relocate_section): Check * elf64-x86-64.c (elf_x86_64_relocate_section): Check

View File

@ -1066,8 +1066,7 @@ elf_x86_64_create_dynamic_sections (bfd *dynobj,
if (info->executable) if (info->executable)
{ {
/* Always allow copy relocs for building executables. */ /* Always allow copy relocs for building executables. */
asection *s; asection *s = bfd_get_linker_section (dynobj, ".rela.bss");
s = bfd_get_linker_section (dynobj, ".rela.bss");
if (s == NULL) if (s == NULL)
{ {
const struct elf_backend_data *bed = get_elf_backend_data (dynobj); const struct elf_backend_data *bed = get_elf_backend_data (dynobj);