Support --sysroot with Solaris ld

Programming / Compilers / GCC - ro [138bc75d-0d04-0410-961f-82ee72b054a4] - 22 June 2017 02:54 EDT

- 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.

f50c2ca Support --sysroot with Solaris ld
gcc/ChangeLog | 15 +++++++++++++++
gcc/config/sol2.h | 5 +++++
gcc/configure | 44 ++++++++++++++++++++++----------------------
gcc/configure.ac | 44 ++++++++++++++++++++++----------------------
4 files changed, 64 insertions(+), 44 deletions(-)

Upstream: gcc.gnu.org


  • Share