* config/tc-mmix.c: Fix formatting.

* config/tc-mmix.h: Likewise.
This commit is contained in:
Kazu Hirata
2002-05-09 00:33:09 +00:00
parent a4ad835692
commit a1b6236b7d
3 changed files with 138 additions and 130 deletions

View File

@ -1,3 +1,8 @@
2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
* config/tc-mmix.c: Fix formatting.
* config/tc-mmix.h: Likewise.
2002-05-08 Alan Modra <amodra@bigpond.net.au> 2002-05-08 Alan Modra <amodra@bigpond.net.au>
* configure: Regenerate. * configure: Regenerate.

View File

@ -92,7 +92,8 @@ extern void mmix_fb_label PARAMS ((expressionS *));
/* Since integer_constant is local to expr.c, we have to make this a /* Since integer_constant is local to expr.c, we have to make this a
macro. FIXME: Do it cleaner. */ macro. FIXME: Do it cleaner. */
#define md_operand(exp) \ #define md_operand(exp) \
do { \ do \
{ \
if (input_line_pointer[0] == '#') \ if (input_line_pointer[0] == '#') \
{ \ { \
input_line_pointer++; \ input_line_pointer++; \
@ -103,8 +104,8 @@ extern void mmix_fb_label PARAMS ((expressionS *));
as_bad (_("`&' serial number operator is not supported")); \ as_bad (_("`&' serial number operator is not supported")); \
else \ else \
mmix_fb_label (exp); \ mmix_fb_label (exp); \
} while (0) } \
while (0)
/* Gas dislikes the 2ADD, 8ADD etc. insns, so we have to assemble them in /* Gas dislikes the 2ADD, 8ADD etc. insns, so we have to assemble them in
the error-recovery loop. Hopefully there are no significant the error-recovery loop. Hopefully there are no significant
@ -147,7 +148,8 @@ extern void mmix_adjust_symtab PARAMS ((void));
though. */ though. */
extern int mmix_globalize_symbols; extern int mmix_globalize_symbols;
#define tc_frob_symbol(sym, punt) \ #define tc_frob_symbol(sym, punt) \
do { \ do \
{ \
if (S_GET_SEGMENT (sym) == reg_section \ if (S_GET_SEGMENT (sym) == reg_section \
|| (symp) == section_symbol (absolute_section)) \ || (symp) == section_symbol (absolute_section)) \
(punt) = 1; \ (punt) = 1; \
@ -161,7 +163,8 @@ extern int mmix_globalize_symbols;
|| (S_GET_NAME (sym)[0] != '$' \ || (S_GET_NAME (sym)[0] != '$' \
&& S_GET_VALUE (sym) < 256))) \ && S_GET_VALUE (sym) < 256))) \
S_SET_EXTERNAL (sym); \ S_SET_EXTERNAL (sym); \
} while (0) } \
while (0)
/* When relaxing, we need to emit various relocs we otherwise wouldn't. */ /* When relaxing, we need to emit various relocs we otherwise wouldn't. */
#define TC_FORCE_RELOCATION(fix) mmix_force_relocation (fix) #define TC_FORCE_RELOCATION(fix) mmix_force_relocation (fix)