From 497f322d4d0b732289cfa270355f6729031bf2e9 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 12 Dec 2002 03:16:33 +0000 Subject: * config/tc-mn10300.c (set_arch_mach): Change argument type to avoid warnings. (r_register_name, xr_register_name): Add prototype declarations. --- gas/ChangeLog | 6 ++++++ gas/config/tc-mn10300.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0d33206..0aee958 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2002-12-12 Alexandre Oliva + + * 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 * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index 6749460..be127c0 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -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")); -- cgit v1.1