Support --sysroot with Solaris ld
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 22 Jun 2017 06:54:04 +0000 (06:54 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 22 Jun 2017 06:54:04 +0000 (06:54 +0000)
commit8dc877ebc405937c7026f8fa7632b23e1f6ebccb
treebdecf810e54179f0df4a028886bef5312a1a2078
parentc83c219a6359e2ab655e7b8a7fabe829fd7bc6b9
Support --sysroot with Solaris ld

* configure.ac (gcc_cv_ld_static_dynamic): Also check stderr for
$gcc_cv_ld --help output.
(gcc_cv_ld_demangle): Likewise.
(gcc_cv_ld_eh_frame_hdr): Likewise.
(gcc_cv_ld_pie): Likewise.
(gcc_cv_ld_as_needed): Likewise.  Prefer native forms unless $gnu_ld.
(gcc_cv_ld_buildid): Likewise.
(gcc_cv_ld_sysroot): Likewise.
(ld_bndplt_support): Likewise.
(ld_pushpopstate_support): Likewise.
* configure: Regenerate.
* config/sol2.h [!USE_GLD] (SYSROOT_SPEC): Define.

From-SVN: r249496
gcc/ChangeLog
gcc/config/sol2.h
gcc/configure
gcc/configure.ac