aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/cr16elf.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/cr16elf.em')
-rw-r--r--ld/emultempl/cr16elf.em4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/cr16elf.em b/ld/emultempl/cr16elf.em
index 9c07b35..276dce4 100644
--- a/ld/emultempl/cr16elf.em
+++ b/ld/emultempl/cr16elf.em
@@ -39,7 +39,7 @@ cr16_elf_after_open (void)
gld${EMULATION_NAME}_after_open ();
if (command_line.embedded_relocs
- && (! link_info.relocatable))
+ && !bfd_link_relocatable (&link_info))
{
bfd *abfd;
@@ -132,7 +132,7 @@ cr16elf_before_allocation (void)
gld${EMULATION_NAME}_before_allocation ();
if (command_line.embedded_relocs
- && (! link_info.relocatable))
+ && (!bfd_link_relocatable (&link_info)))
{
bfd *abfd;