mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
* 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
This commit is contained in:
@ -26,21 +26,32 @@
|
|||||||
#define TARGET_FORMAT "coff-tic80"
|
#define TARGET_FORMAT "coff-tic80"
|
||||||
#define BFD_ARCH TARGET_ARCH
|
#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
|
#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)
|
#define md_operand(x)
|
||||||
|
|
||||||
#ifdef OBJ_COFF
|
#ifdef OBJ_COFF
|
||||||
|
|
||||||
/* COFF specific definitions. */
|
/* COFF specific definitions. */
|
||||||
|
|
||||||
#define COFF_MAGIC TIC80_ARCH_MAGIC
|
#define COFF_MAGIC TIC80_ARCH_MAGIC
|
||||||
|
|
||||||
/* Whether a reloc should be output. */
|
/* Whether a reloc should be output. */
|
||||||
|
|
||||||
#define TC_COUNT_RELOC(fixp) ((fixp) -> fx_addsy != NULL)
|
#define TC_COUNT_RELOC(fixp) ((fixp) -> fx_addsy != NULL)
|
||||||
|
|
||||||
/* This macro translates between an internal fix and an coff reloc type */
|
/* This macro translates between an internal fix and an coff reloc type */
|
||||||
|
|
||||||
#define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP)
|
#define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP)
|
||||||
|
|
||||||
extern short tc_coff_fix2rtype ();
|
extern short tc_coff_fix2rtype ();
|
||||||
|
|
||||||
#endif /* OBJ_COFF */
|
#endif /* OBJ_COFF */
|
||||||
|
Reference in New Issue
Block a user