X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=bfd%2Felf32-mt.c;h=d120d0548285920ac5fd06868d77aee34ffcbd88;hb=fd3619828e94a24a92cddec42cbc0ab33352eeb4;hp=ca6aa13f195cb3f7b1f371cc6d80497a947320ed;hpb=5dfda3562a69686c43aad4fb0269cc9d5ec010d5;p=thirdparty%2Fbinutils-gdb.git diff --git a/bfd/elf32-mt.c b/bfd/elf32-mt.c index ca6aa13f195..d120d054828 100644 --- a/bfd/elf32-mt.c +++ b/bfd/elf32-mt.c @@ -346,7 +346,7 @@ mt_elf_relocate_section 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 {