aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>1999-06-26 14:19:55 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>1999-06-26 10:19:55 -0400
commit19087b1c321c1abdeb8d9ffc513fb4f66b190b6b (patch)
tree197ea1a14ac0ed7678a77576fdd04e8e5bf97989 /gcc
parentf0eafa79f6983e6c2ddd76cc8d4d3d2740e6691e (diff)
downloadgcc-19087b1c321c1abdeb8d9ffc513fb4f66b190b6b.zip
gcc-19087b1c321c1abdeb8d9ffc513fb4f66b190b6b.tar.gz
gcc-19087b1c321c1abdeb8d9ffc513fb4f66b190b6b.tar.bz2
* rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
From-SVN: r27779
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/rs6000.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 28d6cbc..3261f65 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 ee3c2f7..c49fd07 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]);