aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.am
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-19 19:36:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-01-19 19:36:37 +0000
commit6738cadcc7b0e5ada20372765a72771dd99efe43 (patch)
treee505794ada35899f1579a6c0498ff2bd97bfa0b0 /ld/Makefile.am
parent44fc9657c5168eb2e6c116eef7cc709972fcdc0f (diff)
downloadgdb-6738cadcc7b0e5ada20372765a72771dd99efe43.zip
gdb-6738cadcc7b0e5ada20372765a72771dd99efe43.tar.gz
gdb-6738cadcc7b0e5ada20372765a72771dd99efe43.tar.bz2
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 5fb039f..c12bcb6 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)