mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
167795c452
(debug): Rewrite using VA_* macros. (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args. (md_convert_frag): Likewise. (md_parse_option): Likewise. (md_show_usage): Likewise. (md_undefined_symbol): Likewise. (tc_gen_reloc): Likewise. (md_operand): Likewise. (tc_aout_pre_write_hook): Delete. (struct tic30_insn): Make "operands" unsigned. (struct tic30_par_insn): Likewise. (md_assemble): Likewise for "count", "i" and "numops". (tic30_parallel_insn): Likewise for vars here. (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison. * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty. * config/tc-tic80.c (obj_coff_section): Delete declaration. (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args. (md_undefined_symbol): Likewise. (md_parse_option): Likewise. (md_convert_frag): Likewise. (tc_coff_symbol_emit_hook): Likewise. (md_atof): Remove declaration of atof_ieee. (const_overflow): Warning fixes, tidy. (get_operands): Delete unused vars. (internal_error_a): Adjust format string to expect a long for arg. (find_opcode): Warning fixes, simplify. (build_insn): Cast internal_error_a arg. (md_begin): Likewise. (md_apply_fix3): Likewise. (md_assemble): Delete unused var. * config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
58 lines
1.7 KiB
C
58 lines
1.7 KiB
C
/* tc-tic30.h -- Header file for tc-tic30.c
|
|
Copyright 1998, 2000 Free Software Foundation, Inc.
|
|
Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au)
|
|
|
|
This file is part of GAS, the GNU Assembler.
|
|
|
|
GAS is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
GAS is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with GAS; see the file COPYING. If not, write to the Free
|
|
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|
02111-1307, USA. */
|
|
|
|
#ifndef _TC_TIC30_H_
|
|
#define _TC_TIC30_H_
|
|
|
|
#define TC_TIC30 1
|
|
|
|
#ifdef OBJ_AOUT
|
|
#define TARGET_FORMAT "a.out-tic30"
|
|
#endif
|
|
|
|
#define TARGET_ARCH bfd_arch_tic30
|
|
#define TARGET_BYTES_BIG_ENDIAN 1
|
|
|
|
#define WORKING_DOT_WORD
|
|
|
|
char *output_invalid PARAMS ((int c));
|
|
|
|
#define END_OF_INSN '\0'
|
|
#define MAX_OPERANDS 6
|
|
#define DIRECT_REFERENCE '@'
|
|
#define INDIRECT_REFERENCE '*'
|
|
#define PARALLEL_SEPARATOR '|'
|
|
#define INSN_SIZE 4
|
|
|
|
/* Define this to 1 if you want the debug output to be on stdout,
|
|
otherwise stderr will be used. If stderr is used, there will be a
|
|
better synchronisation with the as_bad outputs, but you can't
|
|
capture the output. */
|
|
#define USE_STDOUT 0
|
|
|
|
#define tc_unrecognized_line tic30_unrecognized_line
|
|
|
|
extern int tic30_unrecognized_line PARAMS ((int));
|
|
|
|
#define tc_aout_pre_write_hook {}
|
|
|
|
#endif
|