Add output_type to bfd_link_info
[deliverable/binutils-gdb.git] / bfd / elf-m10200.c
index 45bfed774112f594111a686605ad8276ab928310..2ee4496422a3ce85af69d25ae5dc24352a157c59 100644 (file)
@@ -383,7 +383,7 @@ mn10200_elf_relocate_section (bfd *output_bfd,
        RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
                                         rel, 1, relend, howto, 0, contents);
 
-      if (info->relocatable)
+      if (bfd_link_relocatable (info))
        continue;
 
       r = mn10200_elf_final_link_relocate (howto, input_bfd, output_bfd,
@@ -572,7 +572,7 @@ mn10200_elf_relax_section (bfd *abfd,
   /* We don't have to do anything for a relocatable link, if
      this section does not have relocs, or if this is not a
      code section.  */
-  if (link_info->relocatable
+  if (bfd_link_relocatable (link_info)
       || (sec->flags & SEC_RELOC) == 0
       || sec->reloc_count == 0
       || (sec->flags & SEC_CODE) == 0)
This page took 0.024208 seconds and 4 git commands to generate.