projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5097e
)
ubsan: csky-dis.c:1038 left shift cannot be represented
author
Alan Modra
<amodra@gmail.com>
Wed, 2 Sep 2020 01:14:32 +0000
(10:44 +0930)
committer
Alan Modra
<amodra@gmail.com>
Wed, 2 Sep 2020 07:00:44 +0000
(16:30 +0930)
* csky-dis.c (print_insn_csky): Use unsigned type for "given".
opcodes/ChangeLog
patch
|
blob
|
history
opcodes/csky-dis.c
patch
|
blob
|
history
diff --git
a/opcodes/ChangeLog
b/opcodes/ChangeLog
index d89ad9dd9a48f8a3ce2bbf6c284e13a726011a5b..20ff6c0bb04d4f893d46e33e2ed758585ff57206 100644
(file)
--- a/
opcodes/ChangeLog
+++ b/
opcodes/ChangeLog
@@
-1,3
+1,7
@@
+2020-09-02 Alan Modra <amodra@gmail.com>
+
+ * csky-dis.c (print_insn_csky): Use unsigned type for "given".
+
2020-09-02 Alan Modra <amodra@gmail.com>
* crx-dis.c: Whitespace.
diff --git
a/opcodes/csky-dis.c
b/opcodes/csky-dis.c
index 09eed4b8253d248a6fa0f52cd57c61c1e6c1c94f..f815679e37b2afc8da00f64547a406d19115ecb4 100644
(file)
--- a/
opcodes/csky-dis.c
+++ b/
opcodes/csky-dis.c
@@
-944,7
+944,7
@@
print_insn_csky (bfd_vma memaddr, struct disassemble_info *info)
CSKY_INST_TYPE inst = 0;
int status;
char str[256];
- long given;
+
unsigned
long given;
int is_data = FALSE;
void (*printer) (bfd_vma, struct disassemble_info *, long);
unsigned int size = 4;