aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-03-12 07:10:18 +0000
committerRichard Stallman <rms@gnu.org>1992-03-12 07:10:18 +0000
commit6a8c88c8a4c4efda4999c7fd741897a7ff72d072 (patch)
tree77c8608f8996882ded04ab950c050ffb1a33eb86 /gcc
parent0b43fd9a1448f853e4c3f32195c19b5120bd8cfb (diff)
downloadgcc-6a8c88c8a4c4efda4999c7fd741897a7ff72d072.zip
gcc-6a8c88c8a4c4efda4999c7fd741897a7ff72d072.tar.gz
gcc-6a8c88c8a4c4efda4999c7fd741897a7ff72d072.tar.bz2
*** empty log message ***
From-SVN: r454
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/ns32k/ns32k.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c
index f63f05a..6e0cb99 100644
--- a/gcc/config/ns32k/ns32k.c
+++ b/gcc/config/ns32k/ns32k.c
@@ -499,18 +499,15 @@ print_operand_address (file, addr)
offset = const0_rtx;
/* now, offset, base and indexexp are set */
if (! base)
-#ifdef PC_RELATIVE
{
- if (GET_CODE (offset) == LABEL_REF || GET_CODE (offset) == SYMBOL_REF)
- ;
- else
+#if defined (PC_RELATIVE) || defined (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC)
+ if (! (GET_CODE (offset) == LABEL_REF
+ || GET_CODE (offset) == SYMBOL_REF))
#endif
PUT_ABSOLUTE_PREFIX (file);
-#ifdef PC_RELATIVE
}
-#endif
- output_addr_const (file,offset);
+ output_addr_const (file, offset);
if (base) /* base can be (REG ...) or (MEM ...) */
switch (GET_CODE (base))
{
@@ -574,10 +571,12 @@ print_operand_address (file, addr)
output_addr_const (file, offset);
if (base)
fprintf (file, "(%s)", reg_names[REGNO (base)]);
+#ifdef BASE_REG_NEEDED
else if (TARGET_SB)
fprintf (file, "(sb)");
else
abort ();
+#endif
fprintf (file, ")");
break;