diff options
author | Alan Modra <amodra@gmail.com> | 2002-12-03 12:01:45 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-12-03 12:01:45 +0000 |
commit | 6297c1fedec95880c039425d1d8f2919e1a8c410 (patch) | |
tree | a28cd39eff01eee469de49820ea0e0c5e6da87c6 /gas/config/tc-w65.h | |
parent | dc8ec78b763370259434fd4c3c863c6960f18995 (diff) | |
download | gdb-6297c1fedec95880c039425d1d8f2919e1a8c410.zip gdb-6297c1fedec95880c039425d1d8f2919e1a8c410.tar.gz gdb-6297c1fedec95880c039425d1d8f2919e1a8c410.tar.bz2 |
* config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
(cons, s_align_bytes): Delete declaration.
(relax): Delete.
(md_begin): Constify "struct opinfo *" var. Don't try to make "name"
strings common.
(dot): Delete unused function.
(w65_expression): Remove unused arg.
(parse_exp): Prototype. Remove unused arg. Adjust w65_expression
call.
(get_operands): Prototype. Constify "struct opinfo *" arg. Fix
parse_exp call.
(get_specific): Prototype. Constify "struct opinfo *" arg and return
value.
(check): Remove unused function.
(build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort
on unhandled switch case.
(md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify
"opcode".
(tc_crawl_symbol_chain): Delete unused function.
(tc_headers_hook): Likewise.
(tc_Nout_fix_to_chars): Likewise.
(md_undefined_symbol): Add ATTRIBUTE_UNUSED.
(md_parse_option): Likewise.
(md_convert_frag): Likewise.
(tc_coff_symbol_emit_hook): Likewise.
(md_show_usage): Likewise.
* config/tc-w65.h (tc_coff_sizemachdep): Declare.
(TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
(w65_expression): Declare.
* po/POTFILES.in: Regenerate.
Diffstat (limited to 'gas/config/tc-w65.h')
-rw-r--r-- | gas/config/tc-w65.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-w65.h b/gas/config/tc-w65.h index a028728..a2cc9a8 100644 --- a/gas/config/tc-w65.h +++ b/gas/config/tc-w65.h @@ -47,7 +47,11 @@ extern void tc_reloc_mangle #define RELOC_32 1234 #define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep (frag) -#define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) w65_expression (EXP, NBYTES) +int tc_coff_sizemachdep PARAMS ((fragS *)); + +#define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) w65_expression (EXP) +void w65_expression PARAMS ((expressionS *)); + #define TC_COUNT_RELOC(x) (1) #define TC_CONS_RELOC tc_cons_reloc #define DONT_OVERFLOW |