From: Richard Stallman Date: Thu, 12 Mar 1992 07:10:18 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a8c88c8a4c4efda4999c7fd741897a7ff72d072;p=gcc.git *** empty log message *** From-SVN: r454 --- diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index f63f05a6891..6e0cb993215 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;