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.
This commit is contained in:
		| @@ -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> | 2012-02-25  Walter Lee  <walt@tilera.com> | ||||||
|  |  | ||||||
| 	* tilegx.h (tilegx_mnemonic): Add TILEGX_OPC_LD4S_TLS, | 	* tilegx.h (tilegx_mnemonic): Add TILEGX_OPC_LD4S_TLS, | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| /* crx.h -- Header file for CRX opcode and register tables. | /* 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. |    Contributed by Tomer Levi, NSC, Israel. | ||||||
|    Originally written for GAS 2.12 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. |    Updates, BFDizing, GNUifying and ELF support by Tomer Levi. | ||||||
| @@ -384,7 +384,7 @@ extern const int crx_num_traps; | |||||||
| #define NUMTRAPS crx_num_traps | #define NUMTRAPS crx_num_traps | ||||||
|  |  | ||||||
| /* cst4 operand mapping.  */ | /* cst4 operand mapping.  */ | ||||||
| extern const long cst4_map[]; | extern const int cst4_map[]; | ||||||
| extern const int cst4_maps; | extern const int cst4_maps; | ||||||
|  |  | ||||||
| /* Table of instructions with no operands.  */ | /* Table of instructions with no operands.  */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user