aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-cr16c.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-cr16c.c')
-rw-r--r--bfd/elf32-cr16c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-cr16c.c b/bfd/elf32-cr16c.c
index 6547ec1..00adb69 100644
--- a/bfd/elf32-cr16c.c
+++ b/bfd/elf32-cr16c.c
@@ -730,7 +730,7 @@ elf32_cr16c_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))
{
/* This is a relocatable link. We don't have to change
anything, unless the reloc is against a section symbol,