gcc/libgcc
Rainer Orth e5ef217c3e Port libvtv to Solaris
libstdc++-v3:
	* acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY) <solaris2*>: Use
	-Wl,-R in VTV_CXXLINKFLAGS.
	* configure: Regenerate.

	* testsuite/18_support/bad_exception/23591_thread-1.c: Use
	-fvtable-verify=none on Solaris 12+.

	libgcc:
	* Makefile.in (VTV_CFLAGS): New variable.
	(vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
	(vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
	* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
	Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
	to extra_parts if $enable_vtable_verify = yes.

	libvtv:
	* configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
	* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
	<*-*-solaris2*>: Check for init priority support.
	Check for getexecname, __fortify_fail, _obstack_begin.
	(VTV_NO_OBSTACK): New conditional.
	* configure: Regenerate.
	* Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
	Create empty config.h
	* Makefile.in: Regenerate.

	* vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
	variable.
	(read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
	(dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.

	(__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
	[!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.

	(read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
	(iterate_modules): Fix typo.
	Use VTV_PAGE_SIZE.
	(dl_iterate_phdr_callback): Fix typo.
	Use VTV_PAGE_SIZE.
	(__VLTChangePermission): Fix typos.

	include:
	* vtv-change-permission.h (VTV_PAGE_SIZE) [__sun__ && __svr4__ &&
	__sparc__]: Define.

	gcc:
	* config/sol2.h (SUPPORTS_INIT_PRIORITY): Move up.
	(STARTFILE_VTV_SPEC, ENDFILE_VTV_SPEC): Define.
	(STARTFILE_SPEC): Use %(startfile_vtv).
	(ENDFILE_SPEC): Use %(endfile_vtv).
	(SUBTARGET_EXTRA_SPECS): Handle STARTFILE_VTV_SPEC,
	ENDFILE_VTV_SPEC.

	* gcc.c (LINK_COMMAND_SPEC): Move VTABLE_VERIFICATION_SPEC after %{L*}.

From-SVN: r230865
2015-11-25 10:30:25 +00:00
..
config [ARM] PR target/68059 libgcc should not use __write for printing fatal error 2015-11-23 15:17:55 +00:00
soft-fp Update soft-fp from glibc. 2015-09-28 22:50:22 +01:00
ChangeLog Port libvtv to Solaris 2015-11-25 10:30:25 +00:00
config.host Port libvtv to Solaris 2015-11-25 10:30:25 +00:00
config.in Support PIE on Solaris 2015-09-24 09:00:22 +00:00
configure Use CRTs provided by Solaris 2015-09-24 08:51:39 +00:00
configure.ac Use CRTs provided by Solaris 2015-09-24 08:51:39 +00:00
crtstuff.c
dfp-bit.c
dfp-bit.h
divmod.c Update copyright years. 2015-01-05 13:33:28 +01:00
empty.mk
emutls.c
enable-execute-stack-empty.c
enable-execute-stack-mprotect.c
find-symver.awk
fixed-bit.c
fixed-bit.h replace BITS_PER_UNIT with __CHAR_BIT__ in target libs 2015-11-07 19:36:26 +00:00
fixed-obj.mk
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatunsixf.c
fp-bit.c
fp-bit.h replace BITS_PER_UNIT with __CHAR_BIT__ in target libs 2015-11-07 19:36:26 +00:00
gbl-ctors.h
gen-fixed.sh
generic-morestack-thread.c Update copyright years. 2015-01-05 13:33:28 +01:00
generic-morestack.c rs6000-common.c (TARGET_SUPPORTS_SPLIT_STACK): Define. 2015-05-20 10:56:28 +09:30
generic-morestack.h
gstdint.h
gthr-posix.h Update copyright years. 2015-01-05 13:33:28 +01:00
gthr-single.h gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty do-while loop as macro body to avoid warnings. 2015-04-15 09:29:12 -06:00
gthr.h
libgcc2.c replace BITS_PER_UNIT with __CHAR_BIT__ in target libs 2015-11-07 19:36:26 +00:00
libgcc2.h replace BITS_PER_UNIT with __CHAR_BIT__ in target libs 2015-11-07 19:36:26 +00:00
libgcc-std.ver.in
libgcov-driver-system.c
libgcov-driver.c
libgcov-interface.c
libgcov-merge.c
libgcov-profiler.c
libgcov-util.c libgcov-util.c: Add space between string literal and macro name. 2015-05-12 16:40:49 +02:00
libgcov.h replace BITS_PER_UNIT with __CHAR_BIT__ in target libs 2015-11-07 19:36:26 +00:00
Makefile.in Port libvtv to Solaris 2015-11-25 10:30:25 +00:00
memcmp.c
memcpy.c
memmove.c
memset.c
mkheader.sh
mkmap-flat.awk Update copyright years. 2015-01-05 13:33:28 +01:00
mkmap-symver.awk
offloadstuff.c mkoffload.c (process): Constify host data. 2015-07-17 17:12:01 +00:00
shared-object.mk
siditi-object.mk Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
static-object.mk
sync.c Update copyright years. 2015-01-05 13:33:28 +01:00
udivmod.c
udivmodsi4.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-arm-common.inc
unwind-c.c
unwind-compat.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-dip.c unwind fix for musl 2015-04-22 14:20:01 +00:00
unwind-dw2-fde.c
unwind-dw2-fde.h
unwind-dw2.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-seh.c
unwind-sjlj.c
unwind.inc
vtv_end_preinit.c
vtv_end.c
vtv_start_preinit.c
vtv_start.c Update copyright years. 2015-01-05 13:33:28 +01:00