summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-04-15 20:59:22 +0000
committermiod <miod@openbsd.org>2012-04-15 20:59:22 +0000
commitc7a187d0f5b2a135ec6fc5c1ed1c5a5587120026 (patch)
tree45121e487aecf99a69fb094b56dd0365256ce160
parentOverhaul hpc child device attachments: (diff)
downloadwireguard-openbsd-c7a187d0f5b2a135ec6fc5c1ed1c5a5587120026.tar.xz
wireguard-openbsd-c7a187d0f5b2a135ec6fc5c1ed1c5a5587120026.zip
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. */