Correct .relr.dyn nocombreloc script

Alan Modra amodra@gmail.com
Thu Jan 13 06:21:08 GMT 2022


	* scripttempl/elf.sc (.relr.dyn): Don't depend on $COMBRELOC.

diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index f3552a4a554..bf2268bb0ad 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -521,7 +521,7 @@ emit_dyn()
     fi
   fi
   rm -f ldscripts/dyntmp.$$
-  if test -n "${COMBRELOC}" && test -n "${HAVE_DT_RELR}"; then
+  if test -n "${HAVE_DT_RELR}"; then
     echo "  .relr.dyn : { *(.relr.dyn) }"
   fi
 }

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list