From 0cb6fd21e3f9ab80da26b861804684aae7f97785 Mon Sep 17 00:00:00 2001 From: aoliva Date: Thu, 12 Dec 2002 03:16:32 +0000 Subject: [PATCH] * 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 0d33206f6c..0aee95827f 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 6749460e73..be127c0367 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")); -- 2.11.0