Allow symbol and label names to be enclosed in double quotes.
[binutils-gdb.git] / bfd / elf32-moxie.c
index 6b4a5ab757dbdaa43429499f1705a4a3281cacc4..09732ac8f0253a0a697b6d983e8fbff524b2fd22 100644 (file)
@@ -257,7 +257,7 @@ moxie_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 = moxie_final_link_relocate (howto, input_bfd, input_section,
@@ -338,7 +338,7 @@ moxie_elf_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;