gdb: Remove a VEC from gdbsupport/btrace-common.h
[deliverable/binutils-gdb.git] / bfd / elf32-m68hc1x.c
index 6a996789b5bbf0fb9f030fe6605b09a9c0d6653e..8739ca86c13a4810f0c1d22ea4938e5c6613f47d 100644 (file)
@@ -267,7 +267,7 @@ elf32_m68hc11_setup_section_lists (bfd *output_bfd, struct bfd_link_info *info)
           section != NULL;
           section = section->next)
        {
-         const char* name = bfd_get_section_name (input_bfd, section);
+         const char *name = bfd_section_name (section);
 
          if (!strcmp (name, ".tramp"))
            htab->tramp_section = section;
@@ -1014,7 +1014,7 @@ elf32_m68hc11_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
          name = (bfd_elf_string_from_elf_section
                  (input_bfd, symtab_hdr->sh_link, sym->st_name));
          if (name == NULL || *name == '\0')
-           name = bfd_section_name (input_bfd, sec);
+           name = bfd_section_name (sec);
        }
 
       if (is_far && ELF32_R_TYPE (rel->r_info) == R_M68HC11_16)
This page took 0.023167 seconds and 4 git commands to generate.