diff options
Diffstat (limited to 'bfd/elf32-iq2000.c')
-rw-r--r-- | bfd/elf32-iq2000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-iq2000.c b/bfd/elf32-iq2000.c index ef43595..66b0a9b 100644 --- a/bfd/elf32-iq2000.c +++ b/bfd/elf32-iq2000.c @@ -461,7 +461,7 @@ iq2000_elf_check_relocs (bfd *abfd, const Elf_Internal_Rela *rel_end; bfd_boolean changed = FALSE; - if (info->relocatable) + if (bfd_link_relocatable (info)) return TRUE; symtab_hdr = &elf_tdata (abfd)->symtab_hdr; @@ -645,7 +645,7 @@ iq2000_elf_relocate_section (bfd * output_bfd ATTRIBUTE_UNUSED, RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section, rel, 1, relend, howto, 0, contents); - if (info->relocatable) + if (bfd_link_relocatable (info)) continue; switch (r_type) |