From bd59b34f1e877d1bfeb3945c19281cf50d623556 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 1 Jul 2001 06:36:43 +0000 Subject: [PATCH] 2001-07-01 Ben Elliston * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as they cause some subtle breakage. Will fix them again later. --- gas/ChangeLog | 5 +++++ gas/config/tc-m88k.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 85ecb263492..48041a9e44a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-07-01 Ben Elliston + + * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as + they cause some subtle breakage. Will fix them again later. + 2001-06-28 Nick Clifton * config/obj-coff.c (obj_coff_ln): Treat a .ln directive diff --git a/gas/config/tc-m88k.c b/gas/config/tc-m88k.c index 4b2a462635c..470ebd6170a 100644 --- a/gas/config/tc-m88k.c +++ b/gas/config/tc-m88k.c @@ -129,7 +129,7 @@ static char *get_cr PARAMS ((char *param, unsigned *regnop)); static char *get_fcr PARAMS ((char *param, unsigned *regnop)); static char *get_imm16 PARAMS ((char *param, struct m88k_insn *insn)); static char *get_o6 PARAMS ((char *param, unsigned *valp)); -static char *get_reg PARAMS ((char *param, unsigned *regnop, char reg_prefix)); +static char *get_reg PARAMS ((char *param, unsigned *regnop, int reg_prefix)); static char *get_vec9 PARAMS ((char *param, unsigned *valp)); static char *getval PARAMS ((char *param, unsigned int *valp)); @@ -334,7 +334,7 @@ calcop (format, param, insn) int f; unsigned val; unsigned opcode; - char reg_prefix = 'r'; + int reg_prefix = 'r'; insn->opcode = format->opcode; opcode = 0; @@ -466,9 +466,9 @@ static char * get_reg (param, regnop, reg_prefix) char *param; unsigned *regnop; - char reg_prefix; + int reg_prefix; { - char c; + unsigned c; unsigned regno; c = *param++; @@ -899,7 +899,7 @@ getval (param, valp) unsigned int *valp; { unsigned int val = 0; - char c; + unsigned int c; c = *param++; if (c == '0') -- 2.30.2