]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf32-rx.c
bfd_section_* macros
[thirdparty/binutils-gdb.git] / bfd / elf32-rx.c
index e130784bc8f18b06e6250aed4add39b23614a317..7978244f1e5a81ac280a8cb468e33b163c460c3d 100644 (file)
@@ -543,7 +543,7 @@ rx_elf_relocate_section
 
          name = bfd_elf_string_from_elf_section
            (input_bfd, symtab_hdr->sh_link, sym->st_name);
-         name = (sym->st_name == 0) ? bfd_section_name (input_bfd, sec) : name;
+         name = sym->st_name == 0 ? bfd_section_name (sec) : name;
        }
       else
        {