http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47766
--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-02-16 20:22:06 UTC --- 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...@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...@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