summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/opcodes/h8500-dis.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-09-12 19:13:03 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-09-12 19:13:03 +0000
commit1b50fce4c0ed748c156af3ac629e50cb5e4d0ef4 (patch)
treeedee61faabd18b4a5d84e8cdb679d7a8d1fe171f /gnu/usr.bin/binutils/opcodes/h8500-dis.c
parent9f1193e30b5f04af9ea81c644eec79b7b535b890 (diff)
Help stupid cvs fixing basic conflicts.
Diffstat (limited to 'gnu/usr.bin/binutils/opcodes/h8500-dis.c')
-rw-r--r--gnu/usr.bin/binutils/opcodes/h8500-dis.c28
1 files changed, 16 insertions, 12 deletions
diff --git a/gnu/usr.bin/binutils/opcodes/h8500-dis.c b/gnu/usr.bin/binutils/opcodes/h8500-dis.c
index f5d2c166b52..d5e15d4fdb6 100644
--- a/gnu/usr.bin/binutils/opcodes/h8500-dis.c
+++ b/gnu/usr.bin/binutils/opcodes/h8500-dis.c
@@ -1,5 +1,5 @@
/* Disassemble h8500 instructions.
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993, 94, 95, 1998 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,8 +20,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define DISASSEMBLER_TABLE
#define DEFINE_TABLE
+#include "sysdep.h"
#include "h8500-opc.h"
#include "dis-asm.h"
+#include "opintl.h"
/* Maximum length of an instruction. */
#define MAXLEN 8
@@ -107,16 +109,16 @@ if (0) {
for (opcode = h8500_table; opcode->name; opcode++)
{
int byte;
- int rn;
- int rd;
- int rs;
- int disp;
- int abs;
- int imm;
- int pcrel;
- int qim;
+ int rn = 0;
+ int rd = 0;
+ int rs = 0;
+ int disp = 0;
+ int abs = 0;
+ int imm = 0;
+ int pcrel = 0;
+ int qim = 0;
int i;
- int cr;
+ int cr = 0;
for (byte = 0; byte < opcode->length; byte++)
{
FETCH_DATA (info, buffer + byte + 1);
@@ -134,7 +136,8 @@ if (0) {
case FP:
break;
default:
- func (stream, "can't cope with insert %d\n",
+ /* xgettext:c-format */
+ func (stream, _("can't cope with insert %d\n"),
opcode->bytes[byte].insert);
break;
case RN:
@@ -338,7 +341,8 @@ if (0) {
}
/* Couldn't understand anything */
- func (stream, "%02x\t\t*unknown*", buffer[0]);
+ /* xgettext:c-format */
+ func (stream, _("%02x\t\t*unknown*"), buffer[0]);
return 1;
}