Go to file
Rainer Orth b29a436240 Support PIE on Solaris
gcc:
	Backport from mainline
	2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

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

	* 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.
	(LINK_PIE_SPEC): Define.
	* config/i386/sol2.h (ENDFILE_SPEC): Remove.
	(ENDFILE_ARCH_SPEC): Define.
	* config/sparc/sol2.h (ENDFILE_ARCH_SPEC): Define.

	gcc/testsuite:
	Backport from mainline
	2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/target-supports.exp (check_effective_target_pie): Check for
	PIE support on Solaris 11.x and 12.

	libgcc:
	Backport from mainline
	2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

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

From-SVN: r228331
2015-10-01 12:01:18 +00:00
INSTALL README: Do not mention CVS. 2014-10-12 15:05:28 +00:00
boehm-gc Avoid unstructured procfs on Solaris 2015-09-10 14:11:16 +00:00
config Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
contrib Make sure that contrib/download_prerequisites is run from correct place 2015-09-11 06:12:40 +00:00
fixincludes inclhack.def (aix_stdio_inline): New fix. 2015-08-14 07:34:26 -04:00
gcc Support PIE on Solaris 2015-10-01 12:01:18 +00:00
gnattools Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
gotools Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
include Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
intl Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libada Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libatomic Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libbacktrace Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libcc1 Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libcilkrts Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libcpp * sv.po: Update. 2015-07-31 01:48:21 +01:00
libdecnumber Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libffi Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libgcc Support PIE on Solaris 2015-10-01 12:01:18 +00:00
libgfortran PR 67414 Handle newlocale failure 2015-09-02 18:13:35 +03:00
libgo libgo: Use stat_atim.go on Solaris 12+ 2015-09-17 12:46:06 +00:00
libgomp backport: re PR libgomp/67141 (wrong libgomp mutex initialisation order) 2015-09-22 11:18:23 +00:00
libiberty Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libitm Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libjava Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libmpx Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libobjc Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
liboffloadmic Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libquadmath Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libsanitizer Fix sanitizer/67258 by cherry picking upstream patch 2015-09-09 16:39:32 +00:00
libssp Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
libstdc++-v3 shared_mutex (shared_timed_mutex::shared_timed_mutex): Replace throw with __throw_bad_alloc. 2015-09-03 23:12:00 +01:00
libvtv Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
lto-plugin Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
maintainer-scripts Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
zlib Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
.dir-locals.el * .dir-locals.el: Add. 2013-10-16 18:25:31 +00:00
.gitignore Local Vim config with GNU formatting. 2014-12-09 13:45:47 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
COPYING.RUNTIME Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
COPYING3 COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
COPYING3.LIB COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
ChangeLog Update ChangeLog and version files for release 2015-07-16 09:13:40 +00:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
MAINTAINERS MAINTAINERS: Update my email address. 2015-04-08 11:27:32 -07:00
Makefile.def Makefile.def: Add libmpx. 2015-03-10 09:37:41 +00:00
Makefile.in Fix vimrc file link creation. 2015-03-25 12:05:22 +00:00
Makefile.tpl Fix vimrc file link creation. 2015-03-25 12:05:22 +00:00
README * README: Document use of ranges of years in copyright notices. 2012-07-16 15:01:34 +01:00
compile Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
config-ml.in * config-ml.in: Robustify ac_configure_args parsing. 2014-06-13 16:32:29 +02:00
config.guess config.sub: Update from upstream, to 2015-01-01 version. 2015-01-02 09:30:21 +00:00
config.rpath Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
config.sub config.sub: Update from upstream, to 2015-01-01 version. 2015-01-02 09:30:21 +00:00
configure configure.ac: Match $host configured with triplets. 2015-05-03 17:29:57 +00:00
configure.ac configure.ac: Match $host configured with triplets. 2015-05-03 17:29:57 +00:00
depcomp Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
install-sh Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
libtool-ldflags re PR sanitizer/56781 (boostrap-asan failure: fixincl fails to link (missing -lasan)) 2014-04-17 14:23:28 +02:00
libtool.m4 Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
ltgcc.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltmain.sh Ensure libgcc_s unwinder is always used on 64-bit Solaris 10+/x86 (PR target/59788) 2014-02-04 09:31:38 +00:00
ltoptions.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltsugar.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltversion.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
lt~obsolete.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
missing Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
move-if-change Update move-if-change from gnulib 2014-11-16 16:12:44 +00:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap Update from upstream Automake files. 2014-11-16 14:07:13 +00:00

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.