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
This commit is contained in:
Rich Felker 2015-11-14 00:08:41 +00:00 committed by Kaz Kojima
parent cda0a029f4
commit 6a60e03e43
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-11-13 Rich Felker <dalias@libc.org>
* config/sh/sh.md (symGOT_load): Suppress __stack_chk_guard
address loading hack for FDPIC targets.
2015-11-13 Ajit Agarwal <ajitkum@xilinx.com>
Jeff Law <law@redhat.com>

View File

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