gdb: Remove a VEC from gdbsupport/btrace-common.h
[deliverable/binutils-gdb.git] / bfd / elf32-msp430.c
index fe5fd8ff8c109467be5e8b385a89089a4f2faa3b..4dcc8d480da870c4f263b45cbccd3803a2d4227d 100644 (file)
@@ -1314,7 +1314,7 @@ elf32_msp430_relocate_section (bfd * output_bfd ATTRIBUTE_UNUSED,
 
          name = bfd_elf_string_from_elf_section
              (input_bfd, symtab_hdr->sh_link, sym->st_name);
-         name = (name == NULL || * name == 0) ? bfd_section_name (input_bfd, sec) : name;
+         name = name == NULL || *name == 0 ? bfd_section_name (sec) : name;
        }
       else
        {
@@ -1691,7 +1691,7 @@ msp430_elf_relax_delete_bytes (bfd * abfd, asection * sec, bfd_vma addr,
 
       name = bfd_elf_string_from_elf_section
        (abfd, symtab_hdr->sh_link, isym->st_name);
-      name = (name == NULL || * name == 0) ? bfd_section_name (abfd, sec) : name;
+      name = name == NULL || *name == 0 ? bfd_section_name (sec) : name;
 
       if (isym->st_shndx != sec_shndx)
        continue;
This page took 0.024222 seconds and 4 git commands to generate.