]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/emultempl/cr16elf.em
Add output_type to bfd_link_info
[thirdparty/binutils-gdb.git] / ld / emultempl / cr16elf.em
index 9c07b35f1b52481d3397277f39f21c82316adb42..276dce4b8339f6018516656223ba1df43ca34c07 100644 (file)
@@ -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;