aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2015-11-14 00:08:41 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2015-11-14 00:08:41 +0000
commit6a60e03e43ef214422bda5a9df24e38cee5d54ae (patch)
treeb1d521fdc5139fedbaace763587f3ca52a5e09ee /gcc/config
parentcda0a029f45d20f4535dcacf6c3194352c31e736 (diff)
downloadgcc-6a60e03e43ef214422bda5a9df24e38cee5d54ae.zip
gcc-6a60e03e43ef214422bda5a9df24e38cee5d54ae.tar.gz
gcc-6a60e03e43ef214422bda5a9df24e38cee5d54ae.tar.bz2
sh.md (symGOT_load): Don't set stack_chk_guard_p for TARGET_FDPIC.
2015-11-13 Rich Felker <dalias@libc.org> * config/sh/sh.md (symGOT_load): Don't set stack_chk_guard_p for TARGET_FDPIC. From-SVN: r230366
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sh/sh.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 557a0f0..5c748ce 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -11078,7 +11078,7 @@ label:
operands[2] = !can_create_pseudo_p () ? operands[0] : gen_reg_rtx (Pmode);
operands[3] = !can_create_pseudo_p () ? operands[0] : gen_reg_rtx (Pmode);
- if (!TARGET_SHMEDIA
+ if (!TARGET_SHMEDIA && !TARGET_FDPIC
&& flag_stack_protect
&& GET_CODE (operands[1]) == CONST
&& GET_CODE (XEXP (operands[1], 0)) == UNSPEC