Add test for ARMv6-M farcall with no profile info
[deliverable/binutils-gdb.git] / bfd / coff-sh.c
index e52fffa6e1637675b021ed69178c82877cb85ef7..044fc04304e6b3ac0fb202bb0d57ff426c20ad08 100644 (file)
@@ -713,7 +713,7 @@ sh_relax_section (bfd *abfd,
 
   *again = FALSE;
 
-  if (link_info->relocatable
+  if (bfd_link_relocatable (link_info)
       || (sec->flags & SEC_RELOC) == 0
       || sec->reloc_count == 0)
     return TRUE;
@@ -2836,7 +2836,7 @@ sh_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
                     + sec->output_section->vma
                     + sec->output_offset);
            }
-         else if (! info->relocatable)
+         else if (! bfd_link_relocatable (info))
            {
              if (! ((*info->callbacks->undefined_symbol)
                     (info, h->root.root.string, input_bfd, input_section,
This page took 0.02377 seconds and 4 git commands to generate.