gcc/testsuite: * lib/target-supports.exp (check_effective_target_pie): Check for PIE support on Solaris 11.x and 12. libgcc: * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file. Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts. * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of messages. (internal_mcount): Likewise. * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with crt_compile, add CRTSTUFF_T_CFLAGS_S. gcc: * configure.ac (gcc_cv_ld_pie): Check for gld >= 2.26 on Solaris. Check for ld -type pie on Solaris 11.x and 12. * configure: Regenerate. * config.in: Regenerate. * gcc.c (LD_PIE_SPEC): Allow redefinition. * config/sol2.h (STARTFILE_CRTBEGIN_SPEC): Define. (STARTFILE_SPEC): Use it. (ENDFILE_CRTEND_SPEC): Define. (ENDFILE_SPEC): Use it and ENDFILE_ARCH_SPEC. (SUBTARGET_EXTRA_SPECS): Add STARTFILE_CRTBEGIN_SPEC, ENDFILE_ARCH_SPEC, ENDFILE_CRTEND_SPEC. [HAVE_LD_PIE && HAVE_SOLARIS_CRTS] (LD_PIE_SPEC): Define. (!(HAVE_LD_PIE && HAVE_SOLARIS_CRTS)] (LINK_PIE_SPEC): Define. * config/i386/sol2.h (ENDFILE_SPEC): Remove. (ENDFILE_ARCH_SPEC): Define. * config/sparc/sol2.h (ENDFILE_ARCH_SPEC): Define. From-SVN: r228078
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
asan-dg.exp | Loading commit data... | |
atomic-dg.exp | Loading commit data... | |
c-compat.exp | Loading commit data... | |
c-torture.exp | Loading commit data... | |
cilk-plus-dg.exp | Loading commit data... | |
clearcap.exp | Loading commit data... | |
compat.exp | Loading commit data... | |
copy-file.exp | Loading commit data... | |
dejapatches.exp | Loading commit data... | |
dg-pch.exp | Loading commit data... | |
file-format.exp | Loading commit data... | |
fortran-modules.exp | Loading commit data... | |
fortran-torture.exp | Loading commit data... | |
g++-dg.exp | Loading commit data... | |
g++.exp | Loading commit data... | |
gcc-defs.exp | Loading commit data... | |
gcc-dg.exp | Loading commit data... | |
gcc-gdb-test.exp | Loading commit data... | |
gcc-simulate-thread.exp | Loading commit data... | |
gcc.exp | Loading commit data... | |
gcov.exp | Loading commit data... | |
gfortran-dg.exp | Loading commit data... | |
gfortran.exp | Loading commit data... | |
gnat-dg.exp | Loading commit data... | |
gnat.exp | Loading commit data... | |
go-dg.exp | Loading commit data... | |
go-torture.exp | Loading commit data... | |
go.exp | Loading commit data... | |
lto.exp | Loading commit data... | |
mike-g++.exp | Loading commit data... | |
mike-gcc.exp | Loading commit data... | |
mpx-dg.exp | Loading commit data... | |
obj-c++-dg.exp | Loading commit data... | |
obj-c++.exp | Loading commit data... | |
objc-dg.exp | Loading commit data... | |
objc-torture.exp | Loading commit data... | |
objc.exp | Loading commit data... | |
options.exp | Loading commit data... | |
plugin-support.exp | Loading commit data... | |
profopt.exp | Loading commit data... | |
prune.exp | Loading commit data... | |
scanasm.exp | Loading commit data... | |
scandump.exp | Loading commit data... | |
scanipa.exp | Loading commit data... | |
scanrtl.exp | Loading commit data... | |
scantree.exp | Loading commit data... | |
target-libpath.exp | Loading commit data... | |
target-supports-dg.exp | Loading commit data... | |
target-supports.exp | Loading commit data... | |
target-utils.exp | Loading commit data... | |
timeout-dg.exp | Loading commit data... | |
timeout.exp | Loading commit data... | |
torture-options.exp | Loading commit data... | |
tsan-dg.exp | Loading commit data... | |
ubsan-dg.exp | Loading commit data... | |
wrapper.exp | Loading commit data... |