This is the mail archive of the gcc-patches@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]

Re: [PATCH] Stack protector ppc/ppc64 support


On Fri, Jun 24, 2005 at 06:57:28PM -0400, Jakub Jelinek wrote:
> 	* function.c (stack_protect_epilogue): Pass label to
> 	stack_protect_test, assume it emitted also the conditional
> 	branch.
> 	* doc/md.texi (stack_protect_test): Adjust documentation.
> 	* config/i386/i386.md (stack_protect_test): Add third argument,
> 	emit beq with operands[2].
> 	* config/rs6000/rs6000.h (FRAME_GROWS_DOWNWARD): Define to
> 	flag_stack_protect != 0.
> 	* config/rs6000/rs6000.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New
> 	constants.
> 	(stack_protect_set, stack_protect_test): New expanders.
> 	(stack_protect_setsi, stack_protect_setdi, stack_protect_testsi,
> 	stack_protect_testdi): New insns.
> 	* config/rs6000/rs6000.c (rs6000_stack_protect_fail): New function.
> 	(TARGET_STACK_PROTECT_FAIL): Define.
> 	(rs6000_generate_compare): Handle UNSPEC_SP_TEST.

Ok.


r~


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