summaryrefslogtreecommitdiff
path: root/opcodes/ns32k-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-02-22 13:01:53 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-02-22 13:01:53 +0000
commit1bef44c657e1d890f107b215b85f9228d8f01aa6 (patch)
treea13d6420fc49f248d3a9c8ae213be6a630ada795 /opcodes/ns32k-dis.c
parente03f2f92a88a797fbe5dcb958c48b48f02b48b8d (diff)
downloadgdb-1bef44c657e1d890f107b215b85f9228d8f01aa6.tar.gz
* arc-ext.c: Warning fixes.
* arc-ext.h: Likewise. * cgen-opc.c: Likewise. * ia64-gen.c: Likewise. * maxq-dis.c: Likewise. * ns32k-dis.c: Likewise. * w65-dis.c: Likewise. * ia64-asmtab.c: Regenerate.
Diffstat (limited to 'opcodes/ns32k-dis.c')
-rw-r--r--opcodes/ns32k-dis.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/opcodes/ns32k-dis.c b/opcodes/ns32k-dis.c
index fe7144ae505..df61847ae35 100644
--- a/opcodes/ns32k-dis.c
+++ b/opcodes/ns32k-dis.c
@@ -1,5 +1,5 @@
/* Print National Semiconductor 32000 instructions.
- Copyright 1986, 1988, 1991, 1992, 1994, 1998, 2001, 2002
+ Copyright 1986, 1988, 1991, 1992, 1994, 1998, 2001, 2002, 2005
Free Software Foundation, Inc.
This file is part of opcodes library.
@@ -33,12 +33,12 @@ static disassemble_info *dis_info;
/*
* Hacks to get it to compile <= READ THESE AS FIXES NEEDED
*/
-#define INVALID_FLOAT(val, size) invalid_float((char *)val, size)
+#define INVALID_FLOAT(val, size) invalid_float((bfd_byte *)val, size)
static int print_insn_arg
- PARAMS ((int, int, int *, char *, bfd_vma, char *, int));
-static int get_displacement PARAMS ((char *, int *));
-static int invalid_float PARAMS ((char *, int));
+ PARAMS ((int, int, int *, bfd_byte *, bfd_vma, char *, int));
+static int get_displacement PARAMS ((bfd_byte *, int *));
+static int invalid_float PARAMS ((bfd_byte *, int));
static long int read_memory_integer PARAMS ((unsigned char *, int));
static int fetch_data PARAMS ((struct disassemble_info *, bfd_byte *));
struct ns32k_option;
@@ -46,7 +46,7 @@ static void optlist PARAMS ((int, const struct ns32k_option *, char *));
static void list_search PARAMS ((int, const struct ns32k_option *, char *));
static int bit_extract PARAMS ((bfd_byte *, int, int));
static int bit_extract_simple PARAMS ((bfd_byte *, int, int));
-static void bit_copy PARAMS ((char *, int, int, char *));
+static void bit_copy PARAMS ((bfd_byte *, int, int, char *));
static int sign_extend PARAMS ((int, int));
static void flip_bytes PARAMS ((char *, int));
@@ -340,7 +340,7 @@ bit_extract_simple (buffer, offset, count)
static void
bit_copy (buffer, offset, count, to)
- char *buffer;
+ bfd_byte *buffer;
int offset;
int count;
char *to;
@@ -551,7 +551,7 @@ static int
print_insn_arg (d, ioffset, aoffsetp, buffer, addr, result, index_offset)
int d;
int ioffset, *aoffsetp;
- char *buffer;
+ bfd_byte *buffer;
bfd_vma addr;
char *result;
int index_offset;
@@ -827,7 +827,7 @@ print_insn_arg (d, ioffset, aoffsetp, buffer, addr, result, index_offset)
static int
get_displacement (buffer, aoffsetp)
- char *buffer;
+ bfd_byte *buffer;
int *aoffsetp;
{
int Ivalue;
@@ -861,7 +861,7 @@ get_displacement (buffer, aoffsetp)
#if 1 /* a version that should work on ns32k f's&d's on any machine */
static int
invalid_float (p, len)
- register char *p;
+ register bfd_byte *p;
register int len;
{
register int val;