aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mn10300.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-18 10:08:15 +0000
committerAlan Modra <amodra@gmail.com>2001-09-18 10:08:15 +0000
commit0e1a166b287f476e03396c78184211720765aa5e (patch)
tree95ac560c3119f811766dd388976a9dbeec600bf1 /gas/config/tc-mn10300.c
parente59b4dfbd29ce7a0dc6f84fdb58d16cb31c988d8 (diff)
downloadgdb-0e1a166b287f476e03396c78184211720765aa5e.zip
gdb-0e1a166b287f476e03396c78184211720765aa5e.tar.gz
gdb-0e1a166b287f476e03396c78184211720765aa5e.tar.bz2
* dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
* write.c (set_symtab): Update bfd_alloc declaration. Use a temp var to ensure bfd_alloc arg is the right type. (write_object_file): Cast args of bfd_seek. Replace bfd_write with bfd_bwrite. * config/obj-coff.c: Replace calls to bfd_write with calls to bfd_bwrite. Cast args of bfd_seek. * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned warning. * config/tc-mn10300.c (set_arch_mach): Make param unsigned. * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with call to bfd_bread.
Diffstat (limited to 'gas/config/tc-mn10300.c')
-rw-r--r--gas/config/tc-mn10300.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c
index 10cb8fa..725f4f2 100644
--- a/gas/config/tc-mn10300.c
+++ b/gas/config/tc-mn10300.c
@@ -92,7 +92,7 @@ static int reg_name_search PARAMS ((const struct reg_name *, int, const char *))
static boolean data_register_name PARAMS ((expressionS *expressionP));
static boolean address_register_name PARAMS ((expressionS *expressionP));
static boolean other_register_name PARAMS ((expressionS *expressionP));
-static void set_arch_mach PARAMS ((int));
+static void set_arch_mach PARAMS ((unsigned int));
/* Set linkrelax here to avoid fixups in most sections. */
int linkrelax = 1;
@@ -2130,7 +2130,7 @@ check_operand (insn, operand, val)
static void
set_arch_mach (mach)
- int mach;
+ unsigned int mach;
{
if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, mach))
as_warn (_("could not set architecture and machine"));