summaryrefslogtreecommitdiff
path: root/ld/Makefile.am
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-19 19:36:30 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-01-19 19:36:30 +0000
commit49cc20aa5c416ea4307931cccf6353247368187d (patch)
tree8c37ce163d141e92f07211742d8b4b96a91170cd /ld/Makefile.am
parentd64e6f4aad67d6ab2c2f3a08a405108c521e38ec (diff)
downloadbinutils-redhat-49cc20aa5c416ea4307931cccf6353247368187d.tar.gz
Add HOSTING_SCRT0 for PIE test
ld/ * Makefile.am (HOSTING_SCRT0): New. * configure.host (HOSTING_SCRT0): New. Used for PIE. * configure.in (HOSTING_SCRT0): New AC_SUBST. * Makefile.in: Regenerated. * configure: Likewise. ld/testsuite/ * config/default.exp (get_target_emul): Also set HOSTING_SCRT0. * lib/ld-lib.exp (default_ld_link): Use HOSTING_SCRT0 for -pie.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r--ld/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 5fb039f961..c12bcb6865 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -86,6 +86,7 @@ POD2MAN = pod2man --center="GNU Development Tools" \
#stuff for self hosting (can be overridden in config file).
HOSTING_CRT0 = @HOSTING_CRT0@
+HOSTING_SCRT0 = @HOSTING_SCRT0@
HOSTING_LIBS = @HOSTING_LIBS@
HOSTING_EMU = -m $(EMUL)