gcc/libgcc/config
Rainer Orth df2a1cc48b Support PIE on Solaris
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
2015-09-24 09:00:22 +00:00
..
aarch64 Update copyright years. 2015-01-05 13:33:28 +01:00
alpha Update copyright years. 2015-01-05 13:33:28 +01:00
arc Update copyright years. 2015-01-05 13:33:28 +01:00
arm lib1funcs.S (aeabi_idiv0, [...]): Add CFI entries. 2015-06-23 17:45:18 +00:00
avr Update copyright years. 2015-01-05 13:33:28 +01:00
bfin Update copyright years. 2015-01-05 13:33:28 +01:00
c6x Update copyright years. 2015-01-05 13:33:28 +01:00
cr16 Update copyright years. 2015-01-05 13:33:28 +01:00
cris Update copyright years. 2015-01-05 13:33:28 +01:00
epiphany Update copyright years. 2015-01-05 13:33:28 +01:00
fr30 Update copyright years. 2015-01-05 13:33:28 +01:00
frv elf-lib.h: New file. 2015-04-28 11:23:40 +02:00
ft32 [FT32] fixes for the default hardware startup 2015-09-21 22:31:53 +00:00
h8300 config.gcc: Add h8300-*-linux. 2015-04-27 13:16:27 -06:00
i386 AVX-512. Introduce SKylake server CPU. 2015-09-22 11:10:21 +00:00
ia64 Update copyright years. 2015-01-05 13:33:28 +01:00
iq2000 Update copyright years. 2015-01-05 13:33:28 +01:00
libbid Update copyright years. 2015-01-05 13:33:28 +01:00
lm32 Update copyright years. 2015-01-05 13:33:28 +01:00
m32c Update copyright years. 2015-01-05 13:33:28 +01:00
m32r Update copyright years. 2015-01-05 13:33:28 +01:00
m68k Update copyright years. 2015-01-05 13:33:28 +01:00
mcore Update copyright years. 2015-01-05 13:33:28 +01:00
mep Update copyright years. 2015-01-05 13:33:28 +01:00
microblaze Update copyright years. 2015-01-05 13:33:28 +01:00
mips Update copyright years. 2015-01-05 13:33:28 +01:00
mmix Update copyright years. 2015-01-05 13:33:28 +01:00
moxie Update copyright years. 2015-01-05 13:33:28 +01:00
msp430 Update copyright years. 2015-01-05 13:33:28 +01:00
nds32 Update copyright years. 2015-01-05 13:33:28 +01:00
nios2 linux-atomic.c (<asm/unistd.h>): Remove #include. 2015-07-22 11:39:30 +00:00
nvptx [PR target/65181] nvptx libgcc: Prevent building "advanced" stuff (for example, gcov support) 2015-02-23 18:51:41 +01:00
pa linux-atomic.c (__kernel_cmpxchg2): Reorder error checks. 2015-09-23 23:27:15 +00:00
pdp11
rl78 rl78-opts.h (enum rl78_mul_types): Add MUL_G14 and MUL_UNINIT. 2015-04-16 07:57:56 +00:00
rs6000 Update copyright. 2015-09-18 14:14:45 -04:00
rx Update copyright years. 2015-01-05 13:33:28 +01:00
s390 Update copyright years. 2015-01-05 13:33:28 +01:00
score Update copyright years. 2015-01-05 13:33:28 +01:00
sh Update copyright years. 2015-01-05 13:33:28 +01:00
sol2 Support PIE on Solaris 2015-09-24 09:00:22 +00:00
sparc Update copyright years. 2015-01-05 13:33:28 +01:00
spu Update copyright years. 2015-01-05 13:33:28 +01:00
stormy16 Update copyright years. 2015-01-05 13:33:28 +01:00
tilegx
tilepro Update copyright years. 2015-01-05 13:33:28 +01:00
v850 Update copyright years. 2015-01-05 13:33:28 +01:00
vax Update copyright years. 2015-01-05 13:33:28 +01:00
visium configure.ac: Add Visium support. 2015-01-06 08:50:12 +00:00
vms Update copyright years. 2015-01-05 13:33:28 +01:00
xtensa xtensa: fix xtensa_fallback_frame_state for call0 ABI 2015-09-15 19:30:32 +00:00
darwin-64.c Update copyright years. 2015-01-05 13:33:28 +01:00
darwin-crt3.c Update copyright years. 2015-01-05 13:33:28 +01:00
darwin-crt-tm.c Update copyright years. 2015-01-05 13:33:28 +01:00
gthr-lynx.h Update copyright years. 2015-01-05 13:33:28 +01:00
gthr-rtems.h RTEMS: Update RTEMS thread model 2015-09-03 05:28:46 +00:00
gthr-vxworks.h re PR libgcc/64885 (libstdc++ all_attributes failure) 2015-03-02 18:02:18 +00:00
hardfp.c Update copyright years. 2015-01-05 13:33:28 +01:00
libgcc-glibc.ver Update copyright years. 2015-01-05 13:33:28 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp Update copyright years. 2015-01-05 13:33:28 +01:00
t-hardfp-sfdf Update copyright years. 2015-01-05 13:33:28 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2015-01-05 13:33:28 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2015-01-05 13:33:28 +01:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2015-01-05 13:33:28 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp libgcc: fix build with older make 2015-07-17 07:14:25 +00:00
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf IA MCU psABI support: changes to libraries 2015-06-30 09:42:07 -07:00
t-softfp-tf
t-stack
t-tls
t-vxworks
unwind-dw2-fde-darwin.c Update copyright years. 2015-01-05 13:33:28 +01:00
vxlib-tls.c Update copyright years. 2015-01-05 13:33:28 +01:00
vxlib.c Update copyright years. 2015-01-05 13:33:28 +01:00