aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2020-05-26 23:23:03 -0700
committerSandra Loosemore <sandra@codesourcery.com>2020-05-26 23:23:03 -0700
commit25e1eca8faf1c29d28e57b37d6b5e3810b7b870b (patch)
tree2b62c4691aa18c397bd6f9887bde1b23a231f729 /ld
parentdbac035ca042260654395b2f292f515c746b3016 (diff)
downloadgdb-25e1eca8faf1c29d28e57b37d6b5e3810b7b870b.zip
gdb-25e1eca8faf1c29d28e57b37d6b5e3810b7b870b.tar.gz
gdb-25e1eca8faf1c29d28e57b37d6b5e3810b7b870b.tar.bz2
Fix extraction of signed constants in nios2 disassembler (again).
In commit 6031ac352c05c5c9f44e24fa1c5a8222a7a7d02d I added some casts to explicitly do conversions from unsigned to signed as 32-bit quantities to address some bugs with different sizes of long and bfd_signed_vma. Those casts were removed in the rewrite of the sign-extension logic in commit 1d61b032265e69317f42e8019e072506f11890c5, reintroducing the same bugs. This patch restores the casts. 2020-05-26 Sandra Loosemore <sandra@codesourcery.com> opcodes/ * nios2-dis.c (nios2_print_insn_arg): Add explicit casts to extractions of signed fields.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions