From f75dccfa726eb79344ea0c8e1485ba8ef4aa6eed Mon Sep 17 00:00:00 2001
From: dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 26 Jun 1999 14:19:55 +0000
Subject: [PATCH] 	* rs6000.c (print_operand, case 'L'): Use
 plus_constant_for_output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27779 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog              | 4 ++++
 gcc/config/rs6000/rs6000.c | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 28d6cbccacac..3261f65daf54 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
+
+	* rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
+
 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
 
 	* alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index ee3c2f761a0b..c49fd0735a21 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -2693,10 +2693,11 @@ print_operand (file, x, code)
 	     we have already done it, we can just use an offset of word.  */
 	  if (GET_CODE (XEXP (x, 0)) == PRE_INC
 	      || GET_CODE (XEXP (x, 0)) == PRE_DEC)
-	    output_address (plus_constant (XEXP (XEXP (x, 0), 0),
-					   UNITS_PER_WORD));
+	    output_address (plus_constant_for_output (XEXP (XEXP (x, 0), 0),
+						      UNITS_PER_WORD));
 	  else
-	    output_address (plus_constant (XEXP (x, 0), UNITS_PER_WORD));
+	    output_address (plus_constant_for_output (XEXP (x, 0),
+						      UNITS_PER_WORD));
 	  if (small_data_operand (x, GET_MODE (x)))
 	    fprintf (file, "@%s(%s)", SMALL_DATA_RELOC,
 		     reg_names[SMALL_DATA_REG]);
-- 
GitLab