mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
ubsan: tic4x: left shift cannot be represented in type 'int'
The patch also fixes a case where libopcodes built for a 64-bit bfd_vma may print different results to libopcodes built for a 32-bit bfd_vma. * tic4x-dis.c (tic4x_dp): Make unsigned.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2020-01-30 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* tic4x-dis.c (tic4x_dp): Make unsigned.
|
||||
|
||||
2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
||||
Jan Beulich <jbeulich@suse.com>
|
||||
|
||||
|
@ -52,7 +52,7 @@ typedef enum
|
||||
indirect_t;
|
||||
|
||||
static unsigned long tic4x_version = 0;
|
||||
static int tic4x_dp = 0;
|
||||
static unsigned int tic4x_dp = 0;
|
||||
static tic4x_inst_t **optab = NULL;
|
||||
static tic4x_inst_t **optab_special = NULL;
|
||||
static const char *registernames[REG_TABLE_SIZE];
|
||||
|
Reference in New Issue
Block a user