Solaris, target_wait(), don't rely on inferior_ptid
[deliverable/binutils-gdb.git] / ld / emultempl / needrelax.em
index 7f9022463f8a65abb750235d7ef5a803a827c4f5..01154d3118a5c8e2c4f067498974abb8afe2cf00 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright 2001, 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -19,7 +19,7 @@
 # MA 02110-1301, USA.
 #
 
-# This file is sourced from elf32.em.  It is used by targets for
+# This file is sourced from elf.em.  It is used by targets for
 # which relaxation is not just an optimization, but for correctness.
 
 LDEMUL_BEFORE_ALLOCATION=need_relax_${EMULATION_NAME}_before_allocation
@@ -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.027248 seconds and 4 git commands to generate.