From e0706ea89984f557e7f5cea298bcb95682dc5c33 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Mon, 17 Feb 1997 01:01:00 +0000 Subject: [PATCH] * config/tc-alpha.h (md_operand): Define with a null expansion, like all the other targets. * doc/internals.texi (CPU backend): Add missing word in md_flush_pending_output description. Fix typo in md_convert_frag description. start-sanitize-tic80 * config/tc-tic80: Minor comment additions/changes. end-sanitize-tic80 --- gas/config/tc-tic80.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gas/config/tc-tic80.h b/gas/config/tc-tic80.h index 35b4e29ef4f..c900bc1acda 100644 --- a/gas/config/tc-tic80.h +++ b/gas/config/tc-tic80.h @@ -26,21 +26,32 @@ #define TARGET_FORMAT "coff-tic80" #define BFD_ARCH TARGET_ARCH +/* Define md_number_to_chars as the appropriate standard big endian or + little endian function. Should we someday support endianness as a + runtime decision, this will need to change. */ + #define md_number_to_chars number_to_chars_littleendian -/* We have no special operand handling. */ +/* Define away the call to md_operand in the expression parsing code. + This is called whenever the expression parser can't parse the input + and gives the assembler backend a chance to deal with it instead. */ + #define md_operand(x) #ifdef OBJ_COFF + /* COFF specific definitions. */ #define COFF_MAGIC TIC80_ARCH_MAGIC /* Whether a reloc should be output. */ + #define TC_COUNT_RELOC(fixp) ((fixp) -> fx_addsy != NULL) /* This macro translates between an internal fix and an coff reloc type */ + #define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP) + extern short tc_coff_fix2rtype (); #endif /* OBJ_COFF */ -- 2.30.2