2000-08-31 Eric Christopher <echristo@cygnus.com>

* config/tc-mn10300.c:  Cleanup and fix warnings.
	(md_pseudo_table): Add initializers.
	(md_show_usage): Cleanup.
	(md_parse_option): Fix warnings.
	(md_undefined_symbol): Fix warnings.
	(md_conver_frag): Fix warnings.
	(tc_gen_reloc): Fix warnings.
	(md_apply_fix3): Fix warnings.
	(check_operand): Fix warnings.
This commit is contained in:
Eric Christopher
2000-08-31 18:30:51 +00:00
parent b302179c1f
commit b4c1ea07cd
2 changed files with 21 additions and 11 deletions

View File

@ -1,3 +1,15 @@
2000-08-31 Eric Christopher <echristo@cygnus.com>
* config/tc-mn10300.c: Cleanup and fix warnings.
(md_pseudo_table): Add initializers.
(md_show_usage): Cleanup.
(md_parse_option): Fix warnings.
(md_undefined_symbol): Fix warnings.
(md_conver_frag): Fix warnings.
(tc_gen_reloc): Fix warnings.
(md_apply_fix3): Fix warnings.
(check_operand): Fix warnings.
2000-08-31 Alexandre Oliva <aoliva@redhat.com> 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4: Include libtool and gettext macros from the * acinclude.m4: Include libtool and gettext macros from the

View File

@ -121,8 +121,8 @@ size_t md_longopts_size = sizeof (md_longopts);
/* The target specific pseudo-ops which we support. */ /* The target specific pseudo-ops which we support. */
const pseudo_typeS md_pseudo_table[] = const pseudo_typeS md_pseudo_table[] =
{ {
{ "file", dwarf2_directive_file }, { "file", dwarf2_directive_file, 0 },
{ "loc", dwarf2_directive_loc }, { "loc", dwarf2_directive_loc, 0 },
{ "am30", set_arch_mach, AM30 }, { "am30", set_arch_mach, AM30 },
{ "am33", set_arch_mach, AM33 }, { "am33", set_arch_mach, AM33 },
{ "mn10300", set_arch_mach, MN103 }, { "mn10300", set_arch_mach, MN103 },
@ -544,15 +544,15 @@ none yet\n"));
int int
md_parse_option (c, arg) md_parse_option (c, arg)
int c; int c ATTRIBUTE_UNUSED;
char *arg; char *arg ATTRIBUTE_UNUSED;
{ {
return 0; return 0;
} }
symbolS * symbolS *
md_undefined_symbol (name) md_undefined_symbol (name)
char *name; char *name ATTRIBUTE_UNUSED;
{ {
return 0; return 0;
} }
@ -600,7 +600,7 @@ md_atof (type, litp, sizep)
void void
md_convert_frag (abfd, sec, fragP) md_convert_frag (abfd, sec, fragP)
bfd *abfd; bfd *abfd ATTRIBUTE_UNUSED;
asection *sec; asection *sec;
fragS *fragP; fragS *fragP;
{ {
@ -1814,7 +1814,7 @@ keep_going:
arelent * arelent *
tc_gen_reloc (seg, fixp) tc_gen_reloc (seg, fixp)
asection *seg; asection *seg ATTRIBUTE_UNUSED;
fixS *fixp; fixS *fixp;
{ {
arelent *reloc; arelent *reloc;
@ -1917,11 +1917,9 @@ md_pcrel_from (fixp)
int int
md_apply_fix3 (fixp, valuep, seg) md_apply_fix3 (fixp, valuep, seg)
fixS *fixp; fixS *fixp;
valueT *valuep; valueT *valuep ATTRIBUTE_UNUSED;
segT seg; segT seg;
{ {
valueT value = *valuep;
char *fixpos = fixp->fx_where + fixp->fx_frag->fr_literal; char *fixpos = fixp->fx_where + fixp->fx_frag->fr_literal;
int size = 0; int size = 0;
@ -2092,7 +2090,7 @@ mn10300_insert_operand (insnp, extensionp, operand, val, file, line, shift)
static unsigned long static unsigned long
check_operand (insn, operand, val) check_operand (insn, operand, val)
unsigned long insn; unsigned long insn ATTRIBUTE_UNUSED;
const struct mn10300_operand *operand; const struct mn10300_operand *operand;
offsetT val; offsetT val;
{ {