MIPS/BFD: Report `bfd_reloc_outofrange' errors as such
[deliverable/binutils-gdb.git] / ld / emultempl / needrelax.em
index fc57fa3fa9dc955c19a55caf0244fa3258263981..2ccaaccfe9ea41aab69df1c2c5dc933aea5e8d9e 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright (C) 2001-2015 Free Software Foundation, Inc.
+#   Copyright (C) 2001-2016 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -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
This page took 0.023466 seconds and 4 git commands to generate.