From: H.J. Lu Date: Sun, 16 Sep 2007 18:55:23 +0000 (+0000) Subject: 2007-09-16 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbfca19ebae69108885a09f3c7ec7a8e4317aa61;p=binutils-gdb.git 2007-09-16 H.J. Lu * emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index d426fe18280..b795f502dcd 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2007-09-16 H.J. Lu + + * emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW. + 2007-09-15 Alan Modra PR ld/5025 diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 775458c6181..d9daa6e78de 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1862,7 +1862,7 @@ if test -n "$GENERATE_PIE_SCRIPT" ; then if test -n "$GENERATE_COMBRELOC_SCRIPT" ; then echo ' ; else if (link_info.pie && link_info.combreloc' >> e${EMULATION_NAME}.c echo ' && link_info.relro' >> e${EMULATION_NAME}.c -echo ' && (link_info.flags & DT_BIND_NOW)) return' >> e${EMULATION_NAME}.c +echo ' && (link_info.flags & DF_BIND_NOW)) return' >> e${EMULATION_NAME}.c sed $sc ldscripts/${EMULATION_NAME}.xdw >> e${EMULATION_NAME}.c echo ' ; else if (link_info.pie && link_info.combreloc) return' >> e${EMULATION_NAME}.c sed $sc ldscripts/${EMULATION_NAME}.xdc >> e${EMULATION_NAME}.c @@ -1874,7 +1874,7 @@ if test -n "$GENERATE_SHLIB_SCRIPT" ; then if test -n "$GENERATE_COMBRELOC_SCRIPT" ; then echo ' ; else if (link_info.shared && link_info.combreloc' >> e${EMULATION_NAME}.c echo ' && link_info.relro' >> e${EMULATION_NAME}.c -echo ' && (link_info.flags & DT_BIND_NOW)) return' >> e${EMULATION_NAME}.c +echo ' && (link_info.flags & DF_BIND_NOW)) return' >> e${EMULATION_NAME}.c sed $sc ldscripts/${EMULATION_NAME}.xsw >> e${EMULATION_NAME}.c echo ' ; else if (link_info.shared && link_info.combreloc) return' >> e${EMULATION_NAME}.c sed $sc ldscripts/${EMULATION_NAME}.xsc >> e${EMULATION_NAME}.c @@ -1884,7 +1884,7 @@ sed $sc ldscripts/${EMULATION_NAME}.xs >> e${EMULATION_NAME}.c fi if test -n "$GENERATE_COMBRELOC_SCRIPT" ; then echo ' ; else if (link_info.combreloc && link_info.relro' >> e${EMULATION_NAME}.c -echo ' && (link_info.flags & DT_BIND_NOW)) return' >> e${EMULATION_NAME}.c +echo ' && (link_info.flags & DF_BIND_NOW)) return' >> e${EMULATION_NAME}.c sed $sc ldscripts/${EMULATION_NAME}.xw >> e${EMULATION_NAME}.c echo ' ; else if (link_info.combreloc) return' >> e${EMULATION_NAME}.c sed $sc ldscripts/${EMULATION_NAME}.xc >> e${EMULATION_NAME}.c @@ -1918,7 +1918,7 @@ if test -n "$GENERATE_PIE_SCRIPT" ; then if test -n "$GENERATE_COMBRELOC_SCRIPT" ; then fragment <