summaryrefslogtreecommitdiff
path: root/bfd/coff-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-mips.c')
-rw-r--r--bfd/coff-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-mips.c b/bfd/coff-mips.c
index a4905721870..5dfbc543149 100644
--- a/bfd/coff-mips.c
+++ b/bfd/coff-mips.c
@@ -960,7 +960,7 @@ mips_relocate_section (bfd *output_bfd,
and the GP value of OUTPUT_BFD (which is in GP). */
addend = ecoff_data (input_bfd)->gp - gp;
}
- else if (! info->relocatable
+ else if (! bfd_link_relocatable (info)
|| h->root.type == bfd_link_hash_defined
|| h->root.type == bfd_link_hash_defweak)
{
@@ -986,7 +986,7 @@ mips_relocate_section (bfd *output_bfd,
}
}
- if (info->relocatable)
+ if (bfd_link_relocatable (info))
{
/* We are generating relocatable output, and must convert
the existing reloc. */