mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
Skip if size of bfd_vma is smaller than address size
Disassembler won't work properly when size of bfd_vma is smaller than address size. PR binutils/19983 PR binutils/19984 * i386-dis.c (print_insn): Return -1 if size of bfd_vma is smaller than address size.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR binutils/19983
|
||||||
|
PR binutils/19984
|
||||||
|
* i386-dis.c (print_insn): Return -1 if size of bfd_vma is
|
||||||
|
smaller than address size.
|
||||||
|
|
||||||
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||||
|
|
||||||
* alpha-dis.c: Regenerate.
|
* alpha-dis.c: Regenerate.
|
||||||
|
@ -13327,6 +13327,13 @@ print_insn (bfd_vma pc, disassemble_info *info)
|
|||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (address_mode == mode_64bit && sizeof (bfd_vma) < 8)
|
||||||
|
{
|
||||||
|
(*info->fprintf_func) (info->stream,
|
||||||
|
_("64-bit address is disabled"));
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
if (intel_syntax)
|
if (intel_syntax)
|
||||||
{
|
{
|
||||||
names64 = intel_names64;
|
names64 = intel_names64;
|
||||||
|
Reference in New Issue
Block a user