Commit 186eb4cb by Kaz Kojima

re PR target/66780 (Compiling with -fstack-protector-strong causes binary to segfault)

PR target/66780
* config/sh/sh.md (symGOT_load): Revert a part of 2015-03-03 change for target/65249.

From-SVN: r225512
parent 2005b056
2015-07-07 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/66780
* config/sh/sh.md (symGOT_load): Revert a part of 2015-03-03
change for target/65249.
2015-07-07 Paulo Matos <pmatos@broadcom.com>
* symtab.c (address_matters_1): Fix typo in comment above.
......
......@@ -10751,12 +10751,6 @@ label:
"__stack_chk_guard") == 0)
stack_chk_guard_p = true;
/* Use R0 to avoid long R0 liveness which stack-protector tends to
produce. */
if (! sh_lra_flag
&& stack_chk_guard_p && ! reload_in_progress && ! reload_completed)
operands[2] = gen_rtx_REG (Pmode, R0_REG);
if (TARGET_SHMEDIA)
{
rtx reg = operands[2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment