gcc/gcc/config/i386
Jakub Jelinek 7700825281 Makefile.def (target_modules): Add libssp.
* Makefile.def (target_modules): Add libssp.
	* configure.in (target_libraries): Add target-libssp.
	* configure: Rebuilt.
	* Makefile.in: Rebuilt.
gcc/
	* gcc.c (LINK_SSP_SPEC): Define.
	(link_ssp_spec): New variable.
	(LINK_COMMAND_SPEC): Add %(link_ssp).
	(static_specs): Add link_ssp_spec.
	* configure.ac (TARGET_LIBC_PROVIDES_SSP): New test.
	* configure: Rebuilt.
	* config.in: Rebuilt.

	* config/rs6000/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
	* config/rs6000/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise.
	* config/i386/linux.h (TARGET_THREAD_SSP_OFFSET): Likewise.
	* config/i386/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise.
	* config/rs6000/rs6000.md (stack_protect_set, stack_protect_test):
	If TARGET_THREAD_SSP_OFFSET is defined, use -0x7010(13) resp.
	-0x7008(2) instead of reading __stack_chk_guard variable.
	* config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): Change
	number.
	(UNSPEC_SP_TLS_SET, UNSPEC_SP_TLS_TEST): New constants.
	(stack_protect_set, stack_protect_test): Use *_tls* patterns
	if TARGET_THREAD_SSP_OFFSET is defined.
	(stack_tls_protect_set_si, stack_tls_protect_set_di,
	stack_tls_protect_test_si, stack_tls_protect_test_di): New insns.

	Revert:
	2005-06-27  Richard Henderson  <rth@redhat.com>
	* libgcc-std.ver (GCC_4.1.0): New.
	* libgcc.h (__stack_chk_guard): Declare.
	(__stack_chk_fail, __stack_chk_fail_local): Declare.
	* libgcc2.c (L_stack_chk, L_stack_chk_local): New.
	* mklibgcc.in (lib2funcs): Add them.

From-SVN: r101531
2005-07-02 10:52:21 +02:00
..
athlon.md emmintrin.h (_mm_cvtsi128_si32): Move earlier. 2005-01-08 16:51:31 -08:00
att.h Update FSF address. 2005-06-25 01:22:41 +00:00
beos-elf.h Update FSF address. 2005-06-25 01:22:41 +00:00
biarch64.h Update FSF address. 2005-06-25 01:22:41 +00:00
bsd.h Update FSF address. 2005-06-25 01:22:41 +00:00
crtdll.h Update FSF address. 2005-06-25 01:22:41 +00:00
cygming.h Update FSF address. 2005-06-25 01:22:41 +00:00
cygming.opt Update FSF address. 2005-06-25 01:22:41 +00:00
cygwin.asm Update FSF address. 2005-06-25 01:22:41 +00:00
cygwin.h Update FSF address. 2005-06-25 01:22:41 +00:00
cygwin1.c Update FSF address. 2005-06-25 01:22:41 +00:00
cygwin2.c Update FSF address. 2005-06-25 01:22:41 +00:00
darwin.h Update FSF address. 2005-06-25 01:22:41 +00:00
djgpp.h Update FSF address. 2005-06-25 01:22:41 +00:00
djgpp.opt Update FSF address. 2005-06-25 01:22:41 +00:00
emmintrin.h mmintrin.h: Mark vector intrinsics always_inline. 2005-06-29 16:14:17 +00:00
freebsd.h Update FSF address. 2005-06-25 01:22:41 +00:00
freebsd64.h Update FSF address. 2005-06-25 01:22:41 +00:00
gas.h Update FSF address. 2005-06-25 01:22:41 +00:00
gmm_malloc.h Update FSF address. 2005-06-25 01:22:41 +00:00
gmon-sol2.c
gnu.h tm.texi (MD_UNWIND_SUPPORT): Document. 2004-09-08 09:47:19 +09:30
gstabs.h
gthr-win32.c Update FSF address. 2005-06-25 01:22:41 +00:00
host-cygwin.c Update FSF address. 2005-06-25 01:22:41 +00:00
host-i386-darwin.c Update FSF address. 2005-06-25 01:22:41 +00:00
host-mingw32.c Update FSF address. 2005-06-25 01:22:41 +00:00
i386-aout.h Update FSF address. 2005-06-25 01:22:41 +00:00
i386-coff.h Update FSF address. 2005-06-25 01:22:41 +00:00
i386-interix.h Update FSF address. 2005-06-25 01:22:41 +00:00
i386-interix3.h Update FSF address. 2005-06-25 01:22:41 +00:00
i386-modes.def Update FSF address. 2005-06-25 01:22:41 +00:00
i386-protos.h i386.c (ix86_expand_int_vcond): Remove unsignedp argument. 2005-06-29 10:27:23 -07:00
i386.c i386.c (ix86_expand_int_vcond): Remove unsignedp argument. 2005-06-29 10:27:23 -07:00
i386.h defaults.h (FRAME_GROWS_DOWNWARD): Define to 0 if not defined. 2005-06-26 07:18:53 +02:00
i386.md Makefile.def (target_modules): Add libssp. 2005-07-02 10:52:21 +02:00
i386.opt Update FSF address. 2005-06-25 01:22:41 +00:00
i386elf.h Update FSF address. 2005-06-25 01:22:41 +00:00
k6.md Update FSF address. 2005-06-25 01:22:41 +00:00
kaos-i386.h Update FSF address. 2005-06-25 01:22:41 +00:00
kfreebsd-gnu.h Update FSF address. 2005-06-25 01:22:41 +00:00
knetbsd-gnu.h Update FSF address. 2005-06-25 01:22:41 +00:00
libgcc-x86_64-glibc.ver
linux-unwind.h linux-unwind.h (x86_64_fallback_frame_state): Cast to void * before struct sigcontext *. 2005-07-01 19:18:13 -07:00
linux.h Makefile.def (target_modules): Add libssp. 2005-07-02 10:52:21 +02:00
linux64.h Makefile.def (target_modules): Add libssp. 2005-07-02 10:52:21 +02:00
lynx.h Update FSF address. 2005-06-25 01:22:41 +00:00
mach.h
mingw32.h Update FSF address. 2005-06-25 01:22:41 +00:00
mm3dnow.h Update FSF address. 2005-06-25 01:22:41 +00:00
mmintrin.h mmintrin.h: Mark vector intrinsics always_inline. 2005-06-29 16:14:17 +00:00
mmx.md Update FSF address. 2005-06-25 01:22:41 +00:00
netbsd-elf.h Update FSF address. 2005-06-25 01:22:41 +00:00
netbsd.h libgcc2.c (__enable_execute_stack): New symbol. 2004-07-17 21:09:14 +00:00
netbsd64.h Update FSF address. 2005-06-25 01:22:41 +00:00
netware-crt0.c Update FSF address. 2005-06-25 01:22:41 +00:00
netware-libgcc.c Update FSF address. 2005-06-25 01:22:41 +00:00
netware-libgcc.def netware-libgcc.def: Update copyright. 2005-06-20 06:45:27 +00:00
netware-libgcc.exp netware-libgcc.def: Update copyright. 2005-06-20 06:45:27 +00:00
netware.c Update FSF address. 2005-06-25 01:22:41 +00:00
netware.h Update FSF address. 2005-06-25 01:22:41 +00:00
nto.h Update FSF address. 2005-06-25 01:22:41 +00:00
nwld.c Update FSF address. 2005-06-25 01:22:41 +00:00
nwld.h Update FSF address. 2005-06-25 01:22:41 +00:00
openbsd.h Update FSF address. 2005-06-25 01:22:41 +00:00
openbsdelf.h Update FSF address. 2005-06-25 01:22:41 +00:00
pentium.md Update FSF address. 2005-06-25 01:22:41 +00:00
pmm_malloc.h Update FSF address. 2005-06-25 01:22:41 +00:00
pmmintrin.h mmintrin.h: Mark vector intrinsics always_inline. 2005-06-29 16:14:17 +00:00
ppro.md Update FSF address. 2005-06-25 01:22:41 +00:00
predicates.md Update FSF address. 2005-06-25 01:22:41 +00:00
ptx4-i.h Update FSF address. 2005-06-25 01:22:41 +00:00
rtemself.h Update FSF address. 2005-06-25 01:22:41 +00:00
sco5.h Update FSF address. 2005-06-25 01:22:41 +00:00
sco5.opt Update FSF address. 2005-06-25 01:22:41 +00:00
scodbx.h
sol2-10.h Update FSF address. 2005-06-25 01:22:41 +00:00
sol2-c1.asm Update FSF address. 2005-06-25 01:22:41 +00:00
sol2-ci.asm Update FSF address. 2005-06-25 01:22:41 +00:00
sol2-cn.asm Update FSF address. 2005-06-25 01:22:41 +00:00
sol2-gc1.asm Update FSF address. 2005-06-25 01:22:41 +00:00
sol2.h Update FSF address. 2005-06-25 01:22:41 +00:00
sse.md i386.c (ix86_expand_int_vcond): Remove unsignedp argument. 2005-06-29 10:27:23 -07:00
sync.md Update FSF address. 2005-06-25 01:22:41 +00:00
sysv4-cpp.h Update FSF address. 2005-06-25 01:22:41 +00:00
sysv4.h Update FSF address. 2005-06-25 01:22:41 +00:00
sysv5.h Update FSF address. 2005-06-25 01:22:41 +00:00
t-beos
t-crtpic
t-crtstuff
t-cygming
t-cygwin config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host object file when targetting cygwin. 2004-02-22 00:04:38 +00:00
t-djgpp
t-gmm_malloc re PR target/16570 (missing _mm_malloc and _mm_free functions in xmmintrin.h) 2004-08-03 12:52:52 -07:00
t-i386elf
t-interix
t-linux64
t-mingw32 re PR target/14548 (building Ada library incorrectly requires collect2 on mingw) 2004-04-05 03:58:46 +00:00
t-netware Makefile.in: Set and use UNWIND_H. 2005-06-28 19:52:27 +00:00
t-nto
t-nwld netware-libgcc.def: Update copyright. 2005-06-20 06:45:27 +00:00
t-openbsd
t-pmm_malloc re PR target/16570 (missing _mm_malloc and _mm_free functions in xmmintrin.h) 2004-08-03 12:52:52 -07:00
t-rtems-i386 t-rtems-i386 (MULTILIBS): Remove k6, athlon, mno-fp-ret-in-387 multilib variants. 2005-03-18 10:13:25 +01:00
t-sco5
t-sol2 configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set need_64bit_hwint=yes. 2004-11-18 01:07:18 +00:00
t-sol2-10 t-sol2-10 (MULTILIB_DIRNAMES, [...]): Use amd64 instead of 64. 2004-11-24 14:38:11 +00:00
t-svr3dbx
t-uwin
t-vxworks
unix.h Update FSF address. 2005-06-25 01:22:41 +00:00
uwin.asm
uwin.h Update FSF address. 2005-06-25 01:22:41 +00:00
vxworks.h Update FSF address. 2005-06-25 01:22:41 +00:00
winnt.c Update FSF address. 2005-06-25 01:22:41 +00:00
x-cygwin host-cygwin.c: New file to support precompiled headers on cygwin 2005-03-07 22:42:42 +00:00
x-darwin config.host: Add a section for generic hosts, and a subsection for Darwin. 2005-04-06 08:41:37 +00:00
x-mingw32 Makefile.in (WERROR_FLAGS): Renamed from WERROR. 2004-12-02 12:12:09 +00:00
x86-64.h Update FSF address. 2005-06-25 01:22:41 +00:00
xm-cygwin.h Update FSF address. 2005-06-25 01:22:41 +00:00
xm-dgux.h
xm-djgpp.h Update FSF address. 2005-06-25 01:22:41 +00:00
xm-mingw32.h Update FSF address. 2005-06-25 01:22:41 +00:00
xm-sun.h
xm-sysv3.h
xmmintrin.h mmintrin.h: Mark vector intrinsics always_inline. 2005-06-29 16:14:17 +00:00