aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-12-12 03:16:33 +0000
committerAlexandre Oliva <aoliva@redhat.com>2002-12-12 03:16:33 +0000
commit497f322d4d0b732289cfa270355f6729031bf2e9 (patch)
tree728e23ac47436f9211289bb734a3d467be90207e /gas
parentb15e66826065ced9d1a4f9bb5c9403780132d891 (diff)
downloadgdb-497f322d4d0b732289cfa270355f6729031bf2e9.zip
gdb-497f322d4d0b732289cfa270355f6729031bf2e9.tar.gz
gdb-497f322d4d0b732289cfa270355f6729031bf2e9.tar.bz2
* config/tc-mn10300.c (set_arch_mach): Change argument type to
avoid warnings. (r_register_name, xr_register_name): Add prototype declarations.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-mn10300.c6
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 <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
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"));