aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-moxie.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-moxie.c')
-rw-r--r--bfd/elf32-moxie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-moxie.c b/bfd/elf32-moxie.c
index 6b4a5ab..09732ac 100644
--- a/bfd/elf32-moxie.c
+++ b/bfd/elf32-moxie.c
@@ -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;