summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-04-15 20:59:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-04-15 20:59:23 +0000
commit37a905efd7295a58353c65508612f3504c1ba9f5 (patch)
tree8b77aa14aaa65e8a87f9da70b189670fc46fbd65
parent5690b6194ac8bfa861b326daadae5e35d94325c9 (diff)
Use the proper symbol name for __guard in the workaround for the
unable to find a register to spill in class 'R0_REGS' ICE when compiling PIC code. Similar to the MI targhooks.c change.
-rw-r--r--gnu/gcc/gcc/config/sh/sh.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/gcc/gcc/config/sh/sh.md b/gnu/gcc/gcc/config/sh/sh.md
index 4837276f7a3..cccb70eb09b 100644
--- a/gnu/gcc/gcc/config/sh/sh.md
+++ b/gnu/gcc/gcc/config/sh/sh.md
@@ -8330,7 +8330,7 @@ label:
&& GET_CODE (XEXP (operands[1], 0)) == UNSPEC
&& GET_CODE (XVECEXP (XEXP (operands[1], 0), 0, 0)) == SYMBOL_REF
&& strcmp (XSTR (XVECEXP (XEXP (operands[1], 0), 0, 0), 0),
- \"__stack_chk_guard\") == 0)
+ \"__guard\") == 0)
emit_insn (gen_blockage ());
/* N.B. This is not constant for a GOTPLT relocation. */