sparc: support %dN and %qN syntax for FP registers.
[deliverable/binutils-gdb.git] / bfd / elf32-d10v.c
index a7d30c9584cda22748b179d56292db7213f134d9..5c0dd95af82a587d03bcc72184b9a0ca7b05f3cb 100644 (file)
@@ -269,7 +269,7 @@ elf32_d10v_check_relocs (bfd *abfd,
   const Elf_Internal_Rela *rel;
   const Elf_Internal_Rela *rel_end;
 
-  if (info->relocatable)
+  if (bfd_link_relocatable (info))
     return TRUE;
 
   symtab_hdr = &elf_tdata (abfd)->symtab_hdr;
@@ -439,7 +439,7 @@ elf32_d10v_relocate_section (bfd *output_bfd,
                        + sym->st_value);
          if (ELF_ST_TYPE (sym->st_info) == STT_SECTION
              && ((sec->flags & SEC_MERGE) != 0
-                 || (info->relocatable
+                 || (bfd_link_relocatable (info)
                      && sec->output_offset != 0)))
            {
              bfd_vma addend;
@@ -447,7 +447,7 @@ elf32_d10v_relocate_section (bfd *output_bfd,
 
              addend = extract_rel_addend (input_bfd, where, howto);
 
-             if (info->relocatable)
+             if (bfd_link_relocatable (info))
                addend += sec->output_offset;
              else
                {
@@ -474,7 +474,7 @@ elf32_d10v_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;
 
       if (h != NULL)
This page took 0.02453 seconds and 4 git commands to generate.