diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-11-26 11:17:08 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-11-26 11:17:08 -0800 |
commit | b27caf75c311991772b316fe7c0eecfd5788eeaf (patch) | |
tree | 90f0032a6a93fcabbf0fe308995ade85e642783e /ld/Makefile.am | |
parent | d24a9f159c4b62ea5a64f619bd2090bbc98d8abd (diff) | |
download | gdb-b27caf75c311991772b316fe7c0eecfd5788eeaf.zip gdb-b27caf75c311991772b316fe7c0eecfd5788eeaf.tar.gz gdb-b27caf75c311991772b316fe7c0eecfd5788eeaf.tar.bz2 |
Add HOSTING_SLIBS and use it for -pie
ld/
PR ld/16259
* Makefile.am (HOSTING_SLIBS): New.
* configure.host (HOSTING_SLIBS): New. Used for PIE.
* configure.in (HOSTING_SLIBS): New AC_SUBST.
* Makefile.in: Regenerated.
* configure: Likewise.
ld/testsuite/
PR ld/16259
* config/default.exp (get_target_emul): Also set HOSTING_SLIBS.
* lib/ld-lib.exp (default_ld_link): Use HOSTING_SLIBS for -pie.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r-- | ld/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index b2b2a6e..9b3d00f 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -88,6 +88,7 @@ POD2MAN = pod2man --center="GNU Development Tools" \ HOSTING_CRT0 = @HOSTING_CRT0@ HOSTING_SCRT0 = @HOSTING_SCRT0@ HOSTING_LIBS = @HOSTING_LIBS@ +HOSTING_SLIBS = @HOSTING_SLIBS@ HOSTING_EMU = -m $(EMUL) # Setup the testing framework, if you have one |