* config/tc-mn10300.c (set_arch_mach): Change argument type to

avoid warnings.
(r_register_name, xr_register_name): Add prototype declarations.
This commit is contained in:
Alexandre Oliva
2002-12-12 03:16:33 +00:00
parent b15e668260
commit 497f322d4d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-12-12 Alexandre Oliva <aoliva@redhat.com>
* config/tc-mn10300.c (set_arch_mach): Change argument type to
avoid warnings.
(r_register_name, xr_register_name): Add prototype declarations.
2002-12-08 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack

View File

@ -92,7 +92,9 @@ static int reg_name_search PARAMS ((const struct reg_name *, int, const char *))
static bfd_boolean data_register_name PARAMS ((expressionS *expressionP));
static bfd_boolean address_register_name PARAMS ((expressionS *expressionP));
static bfd_boolean other_register_name PARAMS ((expressionS *expressionP));
static void set_arch_mach PARAMS ((unsigned int));
static bfd_boolean r_register_name PARAMS ((expressionS *expressionP));
static bfd_boolean xr_register_name PARAMS ((expressionS *expressionP));
static void set_arch_mach PARAMS ((int));
/* Set linkrelax here to avoid fixups in most sections. */
int linkrelax = 1;
@ -2152,7 +2154,7 @@ check_operand (insn, operand, val)
static void
set_arch_mach (mach)
unsigned int mach;
int mach;
{
if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, mach))
as_warn (_("could not set architecture and machine"));