From 1f42f8b31d2ef0cd0e4967f7d9414e0671be288e Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 27 Feb 2012 06:37:40 +0000 Subject: gas/ * 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. --- include/opcode/ChangeLog | 4 ++++ include/opcode/crx.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 5241b37..71018b0 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2012-02-27 Alan Modra + + * crx.h (cst4_map): Update declaration. + 2012-02-25 Walter Lee * tilegx.h (tilegx_mnemonic): Add TILEGX_OPC_LD4S_TLS, diff --git a/include/opcode/crx.h b/include/opcode/crx.h index 5c484bf..6081ea3 100644 --- a/include/opcode/crx.h +++ b/include/opcode/crx.h @@ -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. */ -- cgit v1.1