aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-fr30.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-fr30.c')
-rw-r--r--bfd/elf32-fr30.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-fr30.c b/bfd/elf32-fr30.c
index 13f6f19..c3bda80 100644
--- a/bfd/elf32-fr30.c
+++ b/bfd/elf32-fr30.c
@@ -563,7 +563,7 @@ fr30_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 = fr30_final_link_relocate (howto, input_bfd, input_section,
@@ -652,7 +652,7 @@ fr30_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;