diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-01-19 19:36:37 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-01-19 19:36:37 +0000 |
commit | 6738cadcc7b0e5ada20372765a72771dd99efe43 (patch) | |
tree | e505794ada35899f1579a6c0498ff2bd97bfa0b0 /ld/testsuite/config | |
parent | 44fc9657c5168eb2e6c116eef7cc709972fcdc0f (diff) | |
download | gdb-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/testsuite/config')
-rw-r--r-- | ld/testsuite/config/default.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp index bba48d7..d540f19 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -139,11 +139,11 @@ proc get_target_emul {} { } if [isnative] { - foreach x {HOSTING_CRT0 HOSTING_LIBS} { + foreach x {HOSTING_CRT0 HOSTING_SCRT0 HOSTING_LIBS} { get_link_files $x } } else { - foreach x {HOSTING_CRT0 HOSTING_LIBS} { set $x "" } + foreach x {HOSTING_CRT0 HOSTING_SCRT0 HOSTING_LIBS} { set $x "" } } if ![info exists HOSTING_EMU] { set HOSTING_EMU "-m [get_target_emul]" } |