This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r170219 - in /branches/x32/gcc: ChangeLog.x32 c...


Author: hjl
Date: Wed Feb 16 20:22:03 2011
New Revision: 170219

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170219
Log:
Add x32 support to stack protect and split.

gcc/

2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/47766
	* config/i386/i386.md (PTR): New.
	(stack_protect_set: Check TARGET_LP64 instead of TARGET_64BIT.
	(stack_protect_test): Likewise.
	(stack_protect_set_<mode>): Replace ":P" with ":PTR".
	(stack_tls_protect_set_<mode>): Likewise.
	(stack_tls_protect_test_<mode>): Likewise.

	* config/i386/linux64.h (TARGET_THREAD_SSP_OFFSET): Support
	TARGET_X32.
	(TARGET_THREAD_SPLIT_STACK_OFFSET): Likewise.

gcc/testsuite/

2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/47766
	* gcc.target/i386/pr47766.c: New.

Added:
    branches/x32/gcc/testsuite/gcc.target/i386/pr47766.c
Modified:
    branches/x32/gcc/ChangeLog.x32
    branches/x32/gcc/config/i386/i386.md
    branches/x32/gcc/config/i386/linux64.h
    branches/x32/gcc/testsuite/ChangeLog.x32


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]