aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc16.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/reloc16.c')
-rw-r--r--bfd/reloc16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/reloc16.c b/bfd/reloc16.c
index 27d153e..f00886f 100644
--- a/bfd/reloc16.c
+++ b/bfd/reloc16.c
@@ -153,7 +153,7 @@ bfd_coff_reloc16_relax_section (bfd *abfd,
arelent **reloc_vector = NULL;
long reloc_count;
- if (link_info->relocatable)
+ if (bfd_link_relocatable (link_info))
(*link_info->callbacks->einfo)
(_("%P%F: --relax and -r may not be used together\n"));