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
This commit is contained in:
Kaz Kojima 2015-07-07 12:29:16 +00:00
parent 2005b05687
commit 186eb4cb43
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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];