From 67111044cec25f185fce120b66c9968c3dd6e1b1 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sat, 15 Aug 1998 09:47:56 +0000 Subject: [PATCH] Fix -fPIC regression reported by Brendan Kehoe. * config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove write-only modifier from operand 1 constraint. From-SVN: r21749 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/sparc.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39be7a8d9fe..9de7a15f692 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Aug 15 08:39:49 1998 David S. Miller + + * config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove + write-only modifier from operand 1 constraint. + Sat Aug 15 06:28:19 1998 David S. Miller * config/sparc/sparc.c (sparc_emit_set_const64_quick1): If diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index 72795121ec0..83ade02a35e 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -2207,7 +2207,7 @@ (define_insn "*movsi_lo_sum_pic_label_ref" [(set (match_operand:SI 0 "register_operand" "=r") - (lo_sum:SI (match_operand:SI 1 "register_operand" "=r") + (lo_sum:SI (match_operand:SI 1 "register_operand" "r") (unspec:SI [(match_operand:SI 2 "label_ref_operand" "") (match_operand:SI 3 "" "")] 5)))] "flag_pic"