* config/tc-crx.c: Include bfd_stdint.h.
	(getconstant): Remove irrelevant comment.  Don't fail due to
	sign-extension of int mask.
	(check_range): Rewrite using unsigned arithmetic throughout.
opcodes/
	* crx-dis.c (print_arg): Mask constant to 32 bits.
	* crx-opc.c (cst4_map): Use int array.
include/opcode/
	* crx.h (cst4_map): Update declaration.
This commit is contained in:
Alan Modra 2012-02-27 06:37:38 +00:00
parent 2c6df2a984
commit d723fb604d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-02-27 Alan Modra <amodra@gmail.com>
* crx.h (cst4_map): Update declaration.
2012-02-25 Walter Lee <walt@tilera.com>
* tilegx.h (tilegx_mnemonic): Add TILEGX_OPC_LD4S_TLS,

View File

@ -1,5 +1,5 @@
/* crx.h -- Header file for CRX opcode and register tables.
Copyright 2004, 2010 Free Software Foundation, Inc.
Copyright 2004, 2010, 2012 Free Software Foundation, Inc.
Contributed by Tomer Levi, NSC, Israel.
Originally written for GAS 2.12 by Tomer Levi, NSC, Israel.
Updates, BFDizing, GNUifying and ELF support by Tomer Levi.
@ -384,7 +384,7 @@ extern const int crx_num_traps;
#define NUMTRAPS crx_num_traps
/* cst4 operand mapping. */
extern const long cst4_map[];
extern const int cst4_map[];
extern const int cst4_maps;
/* Table of instructions with no operands. */