Use ptr_mode for stack protector.
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 1 Aug 2011 18:21:07 +0000 (18:21 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 1 Aug 2011 18:21:07 +0000 (11:21 -0700)
commitefd7630c8ff4bedf1f0e2afc072657c1da302834
tree367010d53898a081f2d1437dd50f8b1fd5e417dd
parent0701bb567b104631c85fbb5987e10d86c3b86705
Use ptr_mode for stack protector.

2011-08-01  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.

From-SVN: r177067
gcc/ChangeLog
gcc/config/i386/i386.md