]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf32-ft32.c
bfd_section_* macros
[thirdparty/binutils-gdb.git] / bfd / elf32-ft32.c
index d67372429de70bec5a98581dce016210dc8abf30..b8e69e5a2484b24312ab1bd9d4473280a2022e84 100644 (file)
@@ -389,7 +389,7 @@ ft32_elf_relocate_section (bfd *output_bfd,
 
          name = bfd_elf_string_from_elf_section
            (input_bfd, symtab_hdr->sh_link, sym->st_name);
-         name = (name == NULL) ? bfd_section_name (input_bfd, sec) : name;
+         name = name == NULL ? bfd_section_name (sec) : name;
        }
       else
        {