Correct .relr.dyn nocombreloc script

Message ID Yd/E1B62zMdF8Pkf@squeak.grove.modra.org
State New
Headers show
Series
  • Correct .relr.dyn nocombreloc script
Related show

Commit Message

H.J. Lu via Binutils Jan. 13, 2022, 6:21 a.m.
* scripttempl/elf.sc (.relr.dyn): Don't depend on $COMBRELOC.


-- 
Alan Modra
Australia Development Lab, IBM

Patch

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
 }