]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/emultempl/needrelax.em
Add output_type to bfd_link_info
[thirdparty/binutils-gdb.git] / ld / emultempl / needrelax.em
index fc57fa3fa9dc955c19a55caf0244fa3258263981..a2acf19a1071636eb319b0ab038af8677c80d3c2 100644 (file)
@@ -33,7 +33,7 @@ need_relax_${EMULATION_NAME}_before_allocation (void)
   gld${EMULATION_NAME}_before_allocation ();
 
   /* Force -relax on if not doing a relocatable link.  */
-  if (! link_info.relocatable)
+  if (!bfd_link_relocatable (&link_info))
     ENABLE_RELAXATION;
 }
 EOF