pkgsrc-ng/lang/gcc45/patches/patch-gcc_config_mips_mips.md
Lionel Sambuc 612ad0a18c lang/gcc45
2016-01-22 00:09:29 +01:00

14 lines
470 B
Markdown

$NetBSD$
--- gcc/config/mips/mips.md.orig Fri Apr 2 19:54:46 2010
+++ gcc/config/mips/mips.md
@@ -4806,7 +4806,7 @@
;; of _gp from the start of this function. Operand 1 is the incoming
;; function address.
(define_insn_and_split "loadgp_newabi_<mode>"
- [(set (match_operand:P 0 "register_operand" "=d")
+ [(set (match_operand:P 0 "register_operand" "=&d")
(unspec:P [(match_operand:P 1)
(match_operand:P 2 "register_operand" "d")]
UNSPEC_LOADGP))]