Change regcache list to be an hash map
[deliverable/binutils-gdb.git] / bfd / elf32-fr30.c
index 3a0c3ae209ec372fb91b218906a0c7b216d98152..0d299c64b616ea2e64a832440a00336fdd829a36 100644 (file)
@@ -549,7 +549,7 @@ fr30_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
        {
@@ -687,9 +687,7 @@ fr30_elf_check_relocs (bfd *abfd,
        /* This relocation describes which C++ vtable entries are actually
           used.  Record for later use during GC.  */
        case R_FR30_GNU_VTENTRY:
-         BFD_ASSERT (h != NULL);
-         if (h != NULL
-             && !bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
+         if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
            return FALSE;
          break;
        }
This page took 0.025039 seconds and 4 git commands to generate.